mirror of
https://github.com/HuLaSpark/HuLa.git
synced 2026-08-28 19:11:16 +08:00
fix(mobile): 🐛 fix HMR address config in Vite
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user