feat: 添加服务器配置,允许从所有主机访问
This commit is contained in:
1 parent
a4b06c7284
commit
bab102538d
1 file changed
+3
@@ -3,4 +3,7 @@ import react from '@vitejs/plugin-react'
|
|||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [react()],
|
plugins: [react()],
|
||||||
|
server: {
|
||||||
|
host: '0.0.0.0',
|
||||||
|
},
|
||||||
})
|
})
|
||||||
Reference in new issue
Block a user