Mercurial > gemma
comparison client/vue.config.js @ 329:71970f03c9e8
SPA: Fixed setup for proxy in "serve" dev server mode.
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Fri, 03 Aug 2018 10:52:03 +0200 |
parents | c1ef0be0ae3d |
children | a80e589c5ade |
comparison
equal
deleted
inserted
replaced
328:003243ec5ce5 | 329:71970f03c9e8 |
---|---|
11 copyUnmodified: true | 11 copyUnmodified: true |
12 }); | 12 }); |
13 }, | 13 }, |
14 devServer: { | 14 devServer: { |
15 proxy: { | 15 proxy: { |
16 "/api/*": { | 16 "/api": { |
17 target: "http://localhost:8000", | 17 target: process.env.BACKEND_API_URL, |
18 secure: false | 18 secure: false |
19 }, | 19 }, |
20 "/img/*": { | 20 "/img/*": { |
21 target: "http://localhost:5000", | 21 target: "http://localhost:5000", |
22 secure: false | 22 secure: false |