aboutsummaryrefslogtreecommitdiff
path: root/landing/data/urls.toml
diff options
context:
space:
mode:
Diffstat (limited to 'landing/data/urls.toml')
-rw-r--r--landing/data/urls.toml17
1 files changed, 17 insertions, 0 deletions
diff --git a/landing/data/urls.toml b/landing/data/urls.toml
new file mode 100644
index 0000000..4385afb
--- /dev/null
+++ b/landing/data/urls.toml
@@ -0,0 +1,17 @@
+# Canonical cross-app URLs. Both the Hugo landing site and the SvelteKit
+# dashboard read from this one file — don't hard-code these URLs anywhere
+# else. Hugo loads this automatically into `site.Data.urls`; the dashboard
+# reads it via a relative path at build time if/when it needs to.
+
+[dashboard]
+# The SvelteKit UI ("API Key" app) — lives at web/ui in the repo.
+prod = "https://ui.tidyindex.com"
+# The UI's Vite dev server — see web/ui/vite.config.js.
+# Hugo's own dev server lives on :1313, so the UI uses :5174 to
+# avoid a collision when both are running locally.
+dev = "http://localhost:5174"
+
+[landing]
+# The marketing site you're reading this from.
+prod = "https://tidyindex.com"
+dev = "http://localhost:1313"