assetlib: Connect to the API using SSL
Note: it does not work in the project manager as the latter does not use the editor-bundled certificates, but that's a bug and should be fixed.
This commit is contained in:
parent
f56a0435f2
commit
72c2cccbe2
|
@ -1366,7 +1366,7 @@ EditorAssetLibrary::EditorAssetLibrary(bool p_templates_only) {
|
|||
repository = memnew( OptionButton );
|
||||
|
||||
repository->add_item("Godot");
|
||||
repository->set_item_metadata(0, "http://godotengine.org/asset-library/api");
|
||||
repository->set_item_metadata(0, "https://godotengine.org/asset-library/api");
|
||||
repository->add_item("Localhost"); // TODO: Maybe remove?
|
||||
repository->set_item_metadata(1, "http://127.0.0.1/asset-library/api");
|
||||
repository->connect("item_selected",this,"_repository_changed");
|
||||
|
|
Loading…
Reference in New Issue