From 3ccd714822138361370b8de759d67780ca4204f4 Mon Sep 17 00:00:00 2001
From: "robinwilliam.hundt" <robinwilliam.hundt@stud.uni-goettingen.de>
Date: Sun, 5 Aug 2018 14:06:29 +0200
Subject: [PATCH] Added localhost to webpack devserver allowed hosts

---
 frontend/vue.config.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/frontend/vue.config.js b/frontend/vue.config.js
index 6c2485df..29c09438 100644
--- a/frontend/vue.config.js
+++ b/frontend/vue.config.js
@@ -4,6 +4,9 @@ const projectRoot = path.resolve(__dirname)
 
 module.exports = {
   assetsDir: 'static',
+  devServer: {
+    allowedHosts: ['localhost']
+  },
   configureWebpack: {
     resolve: {
       alias: {
-- 
GitLab