diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-16 08:49:08 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-16 08:49:08 -0800 |
| commit | 1f36ec29c83bf5826c90986e071705888c83036c (patch) | |
| tree | c2d0100ff3571fd1ed86ff7c184701e8bb48a069 /Makefile | |
| parent | aee026b141532c11f8eb315ca77cc23f663901ae (diff) | |
| download | neko-1f36ec29c83bf5826c90986e071705888c83036c.tar.gz neko-1f36ec29c83bf5826c90986e071705888c83036c.tar.bz2 neko-1f36ec29c83bf5826c90986e071705888c83036c.zip | |
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
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |
