This commit is contained in:
2025-09-08 11:53:34 +08:00
parent 70add452c7
commit 55c855936c
3 changed files with 196 additions and 129 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