Make the new admin available with docker compose

This commit is contained in:
Gaëtan L
2023-02-16 15:31:42 +01:00
parent a08bf13171
commit 3145f10bd4
4 changed files with 28 additions and 41 deletions
+8 -12
View File
@@ -1,16 +1,12 @@
module.exports = {
devServer: {
proxy: {
'/api': {
target: 'http://localhost:8000/'
}
}
"/api": {
target: "http://localhost:8000/",
},
},
},
transpileDependencies: [
'vuetify'
],
publicPath: process.env.NODE_ENV === 'production'
? '/new-admin/'
: '/',
outputDir: '../modoboa/frontend_dist'
}
transpileDependencies: ["vuetify"],
publicPath: process.env.NODE_ENV === "production" ? "/new-admin/" : "/",
outputDir: "../modoboa/frontend_dist",
};