Files
Friendship-and-chat-im/im-web/vue.config.js
T
2026-03-27 11:27:53 +08:00

19 lines
293 B
JavaScript

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