@@ -1 +1 @@
-VITE_API_URL=
+VITE_API_URL=https://9g15.vip/api
@@ -0,0 +1 @@
+rsync --exclude='node_modules/' -ravzh --delete -e "ssh -o StrictHostKeyChecking=no" ./dist/ root@47.239.186.97:/var/www/junma-admin/
@@ -6,7 +6,7 @@ import { useUserStore } from '@/stores/user'
import { useTeamStore } from '@/stores/team'
const router = createRouter({
- history: createWebHistory('/admin/'),
+ history: createWebHistory('/'),
routes: [
{
path: '/',
@@ -9,7 +9,7 @@ import tailwindcss from '@tailwindcss/vite'
// https://vite.dev/config/
export default defineConfig({
plugins: [vue(), vueJsx(), vueDevTools(), tailwindcss()],
- base: '/admin/',
+ base: '/',
server: {
port: 5175
},