changeset 500:f6d61657b487

Allow accessing client from outside localhost via hostname yarn serve only accepted IP adresses or localhost in the Host-Header before.
author Tom Gottfried <tom@intevation.de>
date Fri, 24 Aug 2018 15:17:35 +0200
parents 5b7a4327f6c0
children af1a198391f3 cb555bffbc97
files client/vue.config.js
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/vue.config.js	Fri Aug 24 15:14:10 2018 +0200
+++ b/client/vue.config.js	Fri Aug 24 15:17:35 2018 +0200
@@ -21,6 +21,7 @@
         target: "http://localhost:5000",
         secure: false
       }
-    }
+    },
+    disableHostCheck: true
   }
 };