| 1234567891011121314151617181920212223 |
- const { defineConfig } = require('@vue/cli-service')
- module.exports = defineConfig({
- transpileDependencies: true,
- devServer: {
- port: 8082,
- proxy: {
- '/api': {
- target: 'http://localhost:8080/api',
- changeOrigin: true,
- pathRewrite: {
- '^/api': ''
- }
- },
- '/auth': {
- target: 'http://localhost:8083',
- changeOrigin: true,
- pathRewrite: {
- '^/auth': '/auth'
- }
- }
- }
- }
- })
|