- nginx try_files: remove $uri/ so the Vite assets/ build directory doesn't shadow the /assets React route and trigger a 403 - Remove VitePWA plugin (leftover from scaffold, not needed for internal app) - Strip PWA-specific nginx location blocks (manifest, sw.js, registerSW.js) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
7 lines
158 B
TypeScript
7 lines
158 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
export default defineConfig({
|
|
base: '/maintenance/',
|
|
plugins: [react()],
|
|
})
|