diff --git a/frontend/vue.config.js b/frontend/vue.config.js index af95d0c9..8a3ee963 100644 --- a/frontend/vue.config.js +++ b/frontend/vue.config.js @@ -1,32 +1,29 @@ module.exports = { -// baseUrl: '/', - assetsDir: 'assets', - filenameHashing: false, - 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': '' -// } -// } -// } -// } + baseUrl: '/', + assetsDir: 'assets', + filenameHashing: false, + 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': '' + } + } + } + } };