This commit is contained in:
lhx-666-cool
2025-04-25 17:03:25 +08:00
parent 326a2a007c
commit f6cb277519
1677 changed files with 1232721 additions and 0 deletions

29
web/vite.config.js Normal file
View File

@@ -0,0 +1,29 @@
import {
defineConfig
} from 'vite'
import vue from '@vitejs/plugin-vue'
import tailwindcss from '@tailwindcss/vite'
// https://vite.dev/config/
export default defineConfig({
plugins: [
vue(),
tailwindcss(),
],
resolve: {
alias: {
events: 'events/',
},
},
server: {
host: '0.0.0.0',
proxy: {
'/bc': {
target: 'https://fuhncvpxdcuf.ap-northeast-1.clawcloudrun.com',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/bc/, ''),
},
},
}
})