mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-04 12:24:09 +01:00
Fix vue config when using docker
This commit is contained in:
@@ -2,7 +2,10 @@ module.exports = {
|
||||
devServer: {
|
||||
proxy: {
|
||||
"/api": {
|
||||
target: "http://localhost:8000/",
|
||||
target:
|
||||
process.env.DOCKER == "yes"
|
||||
? "http://api:8000/"
|
||||
: "http://localhost:8000",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user