1 Star 0 Fork 1

git_zhonghua/Ukulele-Ng-Alain

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
proxy.conf.js 860 Bytes
一键复制 编辑 原始数据 按行查看 历史
git_zhonghua 提交于 2023-06-25 21:49 . 787
/**
* For more configuration, please refer to https://angular.io/guide/build#proxying-to-a-backend-server
*
* 更多配置描述请参考 https://angular.cn/guide/build#proxying-to-a-backend-server
*
* Note: The proxy is only valid for real requests, Mock does not actually generate requests, so the priority of Mock will be higher than the proxy
*/
module.exports = {
/**
* The following means that all requests are directed to the backend `https://localhost:9000/`
*/
// '/': {
// target: 'https://localhost:9000/',
// secure: false, // Ignore invalid SSL certificates
// changeOrigin: true
// }
// "/auth": {
// "target": "http://192.168.0.106:8085",
// "secure": false
// },
"/api/**":{
"target": "http://localhost:8080",
"secure": false,
// "pathRewrite":{
// "^/api":""
// }
}
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/git_zhonghua/Ukulele-Ng-Alain.git
git@gitee.com:git_zhonghua/Ukulele-Ng-Alain.git
git_zhonghua
Ukulele-Ng-Alain
Ukulele-Ng-Alain
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385