Преглед на файлове

fix: admin 前端 base path 设为 /admin/ 修复资源加载路径

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
mengboxin137-blip преди 11 часа
родител
ревизия
33221e91bc
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      admin-frontend/vite.config.ts

+ 1 - 0
admin-frontend/vite.config.ts

@@ -3,6 +3,7 @@ import react from '@vitejs/plugin-react'
 import path from 'path'
 
 export default defineConfig({
+  base: '/admin/',
   plugins: [react()],
   resolve: {
     alias: {