diff --git a/vite.config.js b/vite.config.js index d14b075..201ae8f 100644 --- a/vite.config.js +++ b/vite.config.js @@ -4,6 +4,9 @@ import react from "@vitejs/plugin-react"; export default defineConfig(({ command }) => ({ // Relative base: frontgen places one artifact at any mount path and injects . base: "./", + // Not "assets": the app has an /assets route, and nginx answers 403 for a real + // folder with no index.html, so reloading /asset-management/assets/ broke. + build: { assetsDir: "static" }, plugins: [react()], server: { port: 5173,