Files
Friendship-and-chat-im/im-web/vue.config.js
T
2025-11-25 11:50:02 +08:00

18 lines
244 B
JavaScript

const path = require('path')
const fs = require('fs')
module.exports = {
devServer: {
proxy: {
'/api': {
target: 'http://127.0.0.1:8888',
changeOrigin: true,
ws: false,
pathRewrite: {
'^/api': ''
}
}
}
}
}