You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-05 17:15:09 +00:00
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:
@@ -1366,7 +1366,7 @@ EditorAssetLibrary::EditorAssetLibrary(bool p_templates_only) {
|
|||||||
repository = memnew( OptionButton );
|
repository = memnew( OptionButton );
|
||||||
|
|
||||||
repository->add_item("Godot");
|
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->add_item("Localhost"); // TODO: Maybe remove?
|
||||||
repository->set_item_metadata(1, "http://127.0.0.1/asset-library/api");
|
repository->set_item_metadata(1, "http://127.0.0.1/asset-library/api");
|
||||||
repository->connect("item_selected",this,"_repository_changed");
|
repository->connect("item_selected",this,"_repository_changed");
|
||||||
|
|||||||
Reference in New Issue
Block a user