summaryrefslogtreecommitdiff
path: root/cli/app/utils
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-01-17 21:04:51 +0100
committerJules Laplace <julescarbon@gmail.com>2020-01-17 21:04:51 +0100
commitac6f635c4d724cc3e1e90bb0a300d5eb476dcc86 (patch)
tree439ef548e92122b637f5e002acbea1fa742bc57b /cli/app/utils
parent41eef4ede18d0e57ba8110d65a8f68e5252813af (diff)
api
Diffstat (limited to 'cli/app/utils')
-rw-r--r--cli/app/utils/cortex_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/app/utils/cortex_utils.py b/cli/app/utils/cortex_utils.py
index ccebdc6..7974502 100644
--- a/cli/app/utils/cortex_utils.py
+++ b/cli/app/utils/cortex_utils.py
@@ -9,7 +9,7 @@ from app.settings import app_cfg
def api_url(path):
"""Generate a base API path"""
- return "https://mirror.neural.garden/api/{}/".format(path)
+ return "{}/api/{}/".format(app_cfg.API_REMOTE, path)
def cortex_folder(opt_folder_id):
return fetch_json(os.path.join(api_url('folder'), str(opt_folder_id) + "/"))