diff --git a/frontend-web/vite.config.ts b/frontend-web/vite.config.ts index b560c6d7..8d6e4335 100644 --- a/frontend-web/vite.config.ts +++ b/frontend-web/vite.config.ts @@ -1,13 +1,13 @@ -import path from "node:path"; -import { fileURLToPath } from "node:url"; - -import react from "@vitejs/plugin-react"; -import { defineConfig } from "vite"; +import path from "node:path"; +import { fileURLToPath } from "node:url"; + +import react from "@vitejs/plugin-react"; +import { defineConfig } from "vite"; const rootDir = fileURLToPath(new URL(".", import.meta.url)); -export default defineConfig({ - plugins: [react()], +export default defineConfig({ + plugins: [react()], resolve: { alias: [ { @@ -32,6 +32,7 @@ export default defineConfig({ }, ], }, + "base":"./", server: { port: 5173, },