diff --git a/frontend/vue.config.js b/frontend/vue.config.js index 4d42dc3e..7f2eeaea 100644 --- a/frontend/vue.config.js +++ b/frontend/vue.config.js @@ -1,31 +1,28 @@ module.exports = { assetsDir: 'assets', filenameHashing: false, + productionTip: process.env.NODE_ENV !== 'production', + devtools: process.env.NODE_ENV !== 'production', + performance: process.env.NODE_ENV !== 'production', devServer: { - proxy: 'https://statping.concierge.stage.razorpay.in', - }, - // productionTip: process.env.NODE_ENV !== 'production', - // devtools: process.env.NODE_ENV !== 'production', - // performance: process.env.NODE_ENV !== 'production', - // devServer: { - // disableHostCheck: true, - // proxyTable: { - // '/api': { - // logLevel: 'debug', - // target: 'http://0.0.0.0:8585', - // changeOrigin: true, - // pathRewrite: { - // '^/api': '' - // } - // }, - // '/oauth': { - // logLevel: 'debug', - // target: 'http://0.0.0.0:8585', - // changeOrigin: true, - // pathRewrite: { - // '^/oauth': '' - // } - // } - // } - // } + disableHostCheck: true, + proxyTable: { + '/api': { + logLevel: 'debug', + target: 'http://0.0.0.0:8585', + changeOrigin: true, + pathRewrite: { + '^/api': '' + } + }, + '/oauth': { + logLevel: 'debug', + target: 'http://0.0.0.0:8585', + changeOrigin: true, + pathRewrite: { + '^/oauth': '' + } + } + } + } };