Skip to content

Commit a8cf421

Browse files
feat: create workflow to deploy
1 parent de20f7e commit a8cf421

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import vue from '@vitejs/plugin-vue'
33
import { fileURLToPath, URL } from 'node:url'
44

55
export default defineConfig({
6-
base: '/api-auto-docs/',
6+
base: process.env.PUBLIC_BASE ? `/${process.env.PUBLIC_BASE}/` : '/api-auto-docs/',
77
plugins: [
88
vue(),
99
],

0 commit comments

Comments
 (0)