Explorar o código

devserver listen on all host interface

Michael Wang %!s(int64=4) %!d(string=hai) anos
pai
achega
0f2e082d54
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -3,7 +3,7 @@
   "version": "0.0.0",
   "private": "true",
   "scripts": {
-    "start": "vite",
+    "start": "vite --host 0.0.0.0",
     "dev": "vite --force",
     "build": "vue-tsc --noEmit && vite build",
     "build-without-type-check": "vite build",