From 83f4aacdf51487fdf502d7021b34f2982264417a Mon Sep 17 00:00:00 2001 From: Elijah Voigt Date: Tue, 3 Mar 2026 10:08:35 -0800 Subject: [PATCH] feat(quotesdb): set up Trunk.toml and index.html for UI build - Trunk.toml: target index.html, proxy /api/* to localhost:3000 - index.html: link CSS, Rust wasm binary (ui), copy _redirects Co-Authored-By: Claude Sonnet 4.6 --- quotesdb/Trunk.toml | 4 ++++ quotesdb/index.html | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/quotesdb/Trunk.toml b/quotesdb/Trunk.toml index 8d8f852..9f97ca3 100644 --- a/quotesdb/Trunk.toml +++ b/quotesdb/Trunk.toml @@ -1,2 +1,6 @@ [build] target = "index.html" + +[[proxy]] +rewrite = "/api" +backend = "http://localhost:3000" diff --git a/quotesdb/index.html b/quotesdb/index.html index 78f51fc..921f6be 100644 --- a/quotesdb/index.html +++ b/quotesdb/index.html @@ -2,9 +2,13 @@ + QuotesDB + - + +
+