1
This commit is contained in:
+4
-2
@@ -7,8 +7,10 @@ export default defineConfig({
|
|||||||
server: {
|
server: {
|
||||||
host: '::',
|
host: '::',
|
||||||
allowedHosts: [
|
allowedHosts: [
|
||||||
'*.mymoyu.top',
|
'.mymoyu.top', // 注意是点开头,不是星号
|
||||||
"*",
|
'localhost',
|
||||||
|
'127.0.0.1',
|
||||||
|
'192.168.1.4'
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
plugins: [react()],
|
plugins: [react()],
|
||||||
|
|||||||
Reference in New Issue
Block a user