vue.config.js 508 B

12345678910111213141516171819
  1. module.exports = {
  2. publicPath: './',
  3. productionSourceMap: false,
  4. devServer: {
  5. host: 'localhost',
  6. open: true,
  7. proxy: {
  8. '/api': {
  9. target: 'http://jiesuan.platomix.net/api',
  10. // target: 'https://channel.mige.tv/api',
  11. // target: 'https://opao.bol.wo.cn/channel/api',
  12. changeOrigin: true,
  13. pathRewrite: {
  14. '^/api': ''
  15. }
  16. }
  17. },
  18. },
  19. }