aboutsummaryrefslogtreecommitdiffstats
path: root/web/web.go
diff options
context:
space:
mode:
Diffstat (limited to 'web/web.go')
-rw-r--r--web/web.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/web/web.go b/web/web.go
index 1a713bd..29c3d2c 100644
--- a/web/web.go
+++ b/web/web.go
@@ -37,9 +37,6 @@ var (
//go:embed dist/v2/*
frontendFiles embed.FS
-
- //go:embed dist/vanilla/*
- vanillaFiles embed.FS
)
// init is no longer strictly needed for finding boxes with embed,
@@ -259,10 +256,6 @@ func NewRouter(cfg *config.Settings) http.Handler {
// Wait, /api/stream -> StripPrefix -> /stream. apiServer handles /stream. Correct.
mux.Handle("/api/", GzipMiddleware(http.StripPrefix("/api", AuthWrapHandler(apiServer))))
- // Vanilla JS Prototype from web/dist/vanilla
- vanillaSub, _ := fs.Sub(vanillaFiles, "dist/vanilla")
- mux.Handle("/vanilla/", GzipMiddleware(http.StripPrefix("/vanilla/", http.FileServer(http.FS(vanillaSub)))))
-
// Legacy routes for backward compatibility
mux.HandleFunc("/stream/", AuthWrap(apiServer.HandleStream))
mux.HandleFunc("/item/", AuthWrap(apiServer.HandleItem))