feat: add nginx.conf (#80)

* feat: add nginx.conf

* feat: modify the root path of the web
This commit is contained in:
balibabu
2024-02-28 17:36:44 +08:00
committed by GitHub
parent 01ab5b5db1
commit 6e8781e0e6
2 changed files with 47 additions and 1 deletions

View File

@ -7,7 +7,7 @@ export default defineConfig({
npmClient: 'npm',
base: '/',
routes,
publicPath: '/web/dist/',
publicPath: '/',
esbuildMinifyIIFE: true,
icons: {},
hash: true,