summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2024-11-05 02:58:33 -0500
committerLLLL Colonq <llll@colonq>2024-11-05 02:58:33 -0500
commitcf0070ac5a78d8042fa74d407fb9cb65352e2066 (patch)
tree85fb5cee6c7533b7ae6de846ed447772d7b67296 /config
Initial commit
Diffstat (limited to 'config')
-rw-r--r--config/deploy.m44
-rw-r--r--config/extension.js2
-rw-r--r--config/test.m46
3 files changed, 12 insertions, 0 deletions
diff --git a/config/deploy.m4 b/config/deploy.m4
new file mode 100644
index 0000000..97fc61f
--- /dev/null
+++ b/config/deploy.m4
@@ -0,0 +1,4 @@
+define(`CONFIG_SUBST', `
+globalThis.mode = 0;
+globalThis.apiServer = "https://api.colonq.computer/api";
+')
diff --git a/config/extension.js b/config/extension.js
new file mode 100644
index 0000000..44b69d3
--- /dev/null
+++ b/config/extension.js
@@ -0,0 +1,2 @@
+globalThis.mode = 1;
+globalThis.apiServer = "https://api.colonq.computer/api";
diff --git a/config/test.m4 b/config/test.m4
new file mode 100644
index 0000000..6d41963
--- /dev/null
+++ b/config/test.m4
@@ -0,0 +1,6 @@
+define(`CONFIG_SUBST', `
+globalThis.mode = 0;
+globalThis.apiServer = "http://localhost:8000/api";
+globalThis.clientID = "q486jugzn2my4iw6l181o006ugye4j"
+globalThis.authRedirectURL = "http://localhost:8000";
+')