From 1f36ec29c83bf5826c90986e071705888c83036c Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Mon, 16 Feb 2026 08:49:08 -0800 Subject: Fix v3 build process and CSRF login/logout exclusions - Update Makefile to correctly build and copy frontend-vanilla (v3) assets - Fix frontend-vanilla/vite.config.ts to build to its own dist directory - Normalize CSRF check path and exclude /api/logout to fix v3 session clearing - Include latest built assets for v3 --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8ed1964..3e0e7bb 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,9 @@ ui: ui-vanilla: cd frontend-vanilla && ${NPM} install && ${NPM} run build + rm -rf web/dist/v3 + mkdir -p web/dist/v3 + cp -r frontend-vanilla/dist/* web/dist/v3/ build: ${GO} build ${LDFLAGS} -o ${BINARY} ./cmd/neko -- cgit v1.2.3