diff options
Diffstat (limited to 'game')
-rw-r--r-- | game/core.rpy | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/game/core.rpy b/game/core.rpy index 0e09f0b..3072aab 100644 --- a/game/core.rpy +++ b/game/core.rpy @@ -151,21 +151,22 @@ init -3 python: VAULT_HOST = "https://localhost:13370" VAULT_CERT = "http://localhost/launcher/cert.pem" else: - VAULT_HOST = "https://api.tmw2.org:13370" - VAULT_CERT = "https://tmw2.org/launcher/cert.pem" + VAULT_HOST = "https://api.themanaworld.org:13370" + VAULT_CERT = False#"https://tmw2.org/launcher/cert.pem" ################### # Vault SSL wrapper vault=requests.Session() - vault.cert = get_path("cert.pem") - vault.verify = get_path("cert.pem") + if VAULT_CERT: + vault.cert = get_path("cert.pem") + vault.verify = get_path("cert.pem") ############################################################################ ## Retrieve the Vault certificate. Otherwise, we cannot proceed. ## From here and until the end of this code block, ## ALL ERRORS ARE FATAL def build_vault(): - while True: + while VAULT_CERT: try: ###################################### # Fetch a new PEM Certificate |