Switching to HTTPS (1/6 commits)

This commit is contained in:
! Freaku 2022-11-30 18:31:00 +05:30 committed by GitHub
parent fce024c532
commit 3d5e24d495
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,11 +21,8 @@ _uiscale = ba.app.ui.uiscale
PLUGIN_MANAGER_VERSION = "0.1.7"
REPOSITORY_URL = "http://github.com/bombsquad-community/plugin-manager"
REPOSITORY_URL = "https://github.com/bombsquad-community/plugin-manager"
CURRENT_TAG = "main"
# XXX: Using https with `ba.open_url` seems to trigger a pop-up dialog box on
# Android currently (v1.7.6) and won't open the actual URL in a web-browser.
# Let's fallback to http for now until this gets resolved.
INDEX_META = "{repository_url}/{content_type}/{tag}/index.json"
HEADERS = {
"User-Agent": _env["user_agent_string"],
@ -36,7 +33,7 @@ REGEXP = {
"plugin_entry_points": re.compile(b"(ba_meta export plugin\n+class )(.*)\\("),
"minigames": re.compile(b"(ba_meta export game\n+class )(.*)\\("),
}
DISCORD_URL = "http://ballistica.net/discord"
DISCORD_URL = "https://ballistica.net/discord"
_CACHE = {}