From 9db2500fb340ef304c0f15f4379bc33589df9a63 Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Thu, 12 Feb 2026 21:44:23 -0800 Subject: Scaffold new frontend and close NK-t0nmbj --- web/web.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'web/web.go') diff --git a/web/web.go b/web/web.go index 551354a..02cbead 100644 --- a/web/web.go +++ b/web/web.go @@ -148,6 +148,9 @@ func Serve() { staticFileServer := http.StripPrefix("/static/", http.FileServer(box.HTTPBox())) http.Handle("/static/", staticFileServer) + // New Frontend + http.Handle("/v2/", http.StripPrefix("/v2/", http.HandlerFunc(ServeFrontend))) + // New REST API apiRouter := api.NewRouter() http.Handle("/api/", http.StripPrefix("/api", AuthWrapHandler(apiRouter))) -- cgit v1.2.3