diff --git a/vue.config.js b/vue.config.js index 2c3e8b76f..dea847de9 100644 --- a/vue.config.js +++ b/vue.config.js @@ -15,8 +15,8 @@ const port = 9527; // dev port let publicPath = ''; let outputDir = ''; (function () { - publicPath = process.env.VUE_APP_PRO == 'local' ? '/' : '/cbtc'; - outputDir = process.env.VUE_APP_PRO == 'local' ? 'dist' : 'dist/cbtc'; + publicPath = process.env.VUE_APP_PRO == 'local' || process.env.VUE_APP_PRO == 'ntyl' ? '/' : '/cbtc'; + outputDir = process.env.VUE_APP_PRO == 'local' || process.env.VUE_APP_PRO == 'ntyl' ? 'dist' : 'dist/cbtc'; })(); // All configuration item explanations can be find in https://cli.vuejs.org/config/