[fix] HTTP proxy

This commit is contained in:
ljf 2021-06-03 18:24:03 +02:00
parent 522a8e6a40
commit 9e32ae42ee

View file

@ -54,11 +54,11 @@ module.exports = {
}, },
publicPath: '/yunohost/admin', publicPath: '/yunohost/admin',
devServer: { devServer: {
https: true, https: false,
disableHostCheck: true, disableHostCheck: true,
proxy: { proxy: {
'^/yunohost': { '^/yunohost': {
target: `https://${process.env.VUE_APP_IP}`, target: `http://${process.env.VUE_APP_IP}`,
ws: true, ws: true,
logLevel: 'debug' logLevel: 'debug'
} }