diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-13 10:44:39 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-13 10:44:39 -0800 |
| commit | b97c7f685ed70d9add55301d1169478e52b57801 (patch) | |
| tree | ebf879c8f33f761279db13d02bd758343c93c7d8 /frontend/vite.config.ts | |
| parent | 91df5ee00378f251ac26dcfe169e474b1a408562 (diff) | |
| download | neko-b97c7f685ed70d9add55301d1169478e52b57801.tar.gz neko-b97c7f685ed70d9add55301d1169478e52b57801.tar.bz2 neko-b97c7f685ed70d9add55301d1169478e52b57801.zip | |
Fix frontend asset base path and add regression test for serving frontend
Diffstat (limited to 'frontend/vite.config.ts')
| -rw-r--r-- | frontend/vite.config.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 1a17086..e04aec1 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -5,6 +5,7 @@ import react from '@vitejs/plugin-react' // https://vite.dev/config/ export default defineConfig({ plugins: [react()], + base: '/v2/', server: { proxy: { '/api': 'http://127.0.0.1:4994', |
