diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 207e640..8b20cbc 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -3,7 +3,7 @@ import react from '@vitejs/plugin-react'; import path from 'path'; export default defineConfig({ - base: './', // 设置基础路径为相对路径 + base: '/aistudy/frontend/', // 设置基础路径为相对路径 plugins: [react()], resolve: { alias: {