fix(mobile): 🐛 fix HMR address config in Vite

This commit is contained in:
卡仔
2025-09-21 14:09:10 +08:00
committed by Dawn
parent 403d129083
commit 4f0096ec84
+1 -1
View File
@@ -174,7 +174,7 @@ export default defineConfig(({ mode }: ConfigEnv) => {
server: {
hmr: {
protocol: 'ws',
host: '192.168.247.47',
host: host,
port: 6130
},
cors: true, // 配置 CORS