From 493746b14c1251a45b061d2e3edd9160c929d2b9 Mon Sep 17 00:00:00 2001 From: benj Date: Fri, 10 Apr 2026 11:13:34 +0800 Subject: a basic ui and landing web interface for tidyindex.com --- landing/data/urls.toml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 landing/data/urls.toml (limited to 'landing/data') 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" -- cgit v1.2.3