This commit is contained in:
2025-08-28 09:12:37 +08:00
parent 4c6ab13210
commit fd644194bd
13 changed files with 3245 additions and 169 deletions

View File

@@ -4,8 +4,8 @@ import { resolve } from 'path'
// https://vitejs.dev/config/
export default defineConfig({
base: '/admin',
// base: '/',
// base: '/admin',
base: '/',
plugins: [vue()],
resolve: {
alias: {
@@ -19,10 +19,10 @@ export default defineConfig({
target: 'http://localhost:3000',
changeOrigin: true
},
'/admin': {
target: 'http://localhost:3000',
changeOrigin: true
},
// '/admin': {
// target: 'http://localhost:3000',
// changeOrigin: true
// },
'/uploads': {
target: 'http://localhost:3000',
changeOrigin: true