frontend dev env fix

This commit is contained in:
voje 2019-03-22 18:00:56 +01:00
parent fd351bd8db
commit 7645c8724d
4 changed files with 4 additions and 7 deletions

View File

@ -1,7 +1,7 @@
.PHONY: build-container dev prod info .PHONY: build-container dev prod info
IMGNAME = vue_frontend IMGNAME = vue-frontend
CONNAME = vue-frontend CONNAME = vue_frontend
all: info all: info

View File

@ -1,3 +1,3 @@
{ {
"api_addr": "http://localhost:5004" "api_addr": "http://193.2.76.103:5004"
} }

View File

@ -5,7 +5,7 @@
"author": "voje <kristjan.voje@gmail.com>", "author": "voje <kristjan.voje@gmail.com>",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js", "dev": "webpack-dev-server --host 0.0.0.0 --inline --progress --config build/webpack.dev.conf.js",
"start": "npm run dev", "start": "npm run dev",
"build": "node build/build.js" "build": "node build/build.js"
}, },

View File

@ -1,3 +0,0 @@
proxy: {
'*': 'http://0.0.0.0:8080'
}