更新 frontend/vite.config.ts

This commit is contained in:
LiJiLong 2026-01-28 08:34:26 +00:00
parent 3ec7ce60d1
commit f751d656c8

View File

@ -3,7 +3,7 @@ import react from '@vitejs/plugin-react';
import path from 'path'; import path from 'path';
export default defineConfig({ export default defineConfig({
base: './', // 设置基础路径为相对路径 base: '/aistudy/frontend/', // 设置基础路径为相对路径
plugins: [react()], plugins: [react()],
resolve: { resolve: {
alias: { alias: {