Browse Source

admin路由

xiangyang 1 month ago
parent
commit
b69d37d6c8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vite.config.js

+ 1 - 1
vite.config.js

@@ -8,5 +8,5 @@ export default defineConfig({
     port: 8081,
     port: 8081,
     strictPort: true
     strictPort: true
   },
   },
-  base: './admin'
+  base: '/admin/'
 })
 })