diff options
| -rw-r--r-- | config/deploy.m4 | 1 | ||||
| -rw-r--r-- | config/test.m4 | 1 | ||||
| -rw-r--r-- | src/Config.js | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/config/deploy.m4 b/config/deploy.m4 index dc99c4b..3e26fda 100644 --- a/config/deploy.m4 +++ b/config/deploy.m4 @@ -1,6 +1,7 @@ define(`CONFIG_SUBST', ` globalThis.mode = "api"; globalThis.apiServer = "https://api.colonq.computer/api"; +globalThis.apiServer = "https://secure.colonq.computer/api"; globalThis.clientID = "q486jugzn2my4iw6l181o006ugye4j" globalThis.authRedirectURL = "https://api.colonq.computer/register"; ') diff --git a/config/test.m4 b/config/test.m4 index 0049d84..a628df0 100644 --- a/config/test.m4 +++ b/config/test.m4 @@ -1,6 +1,7 @@ define(`CONFIG_SUBST', ` globalThis.mode = "api"; globalThis.apiServer = "http://localhost:8000/api"; +globalThis.secureApiServer = "http://localhost:8000/api"; globalThis.clientID = "q486jugzn2my4iw6l181o006ugye4j" globalThis.authRedirectURL = "http://localhost:8000/register"; ') diff --git a/src/Config.js b/src/Config.js index 25259c7..02f4704 100644 --- a/src/Config.js +++ b/src/Config.js @@ -1,4 +1,5 @@ export const mode = globalThis.mode; export const apiServer = globalThis.apiServer; +export const secureApiServer = globalThis.secureApiServer; export const clientID = globalThis.clientID; export const authRedirectURL = globalThis.authRedirectURL; |
