当前位置:网站首页>proxy反向代理
proxy反向代理
2022-07-30 21:39:00 【kaka-333】
vue-cli脚手架创建项目的vue.config.js中配置如下
devServer: {
host: "0.0.0.0",
port: 8080,
open: true,
proxy: {
'/api': {
target: 'http://82.156.7.47:8001',
pathRewrite: { '^/api': '' },
},
}
},
边栏推荐
- Navicat连接MySQL时弹出:1045:Access denied for user ‘root’@’localhost’
- The structure of knowledge in the corners of the C language
- MySQL 灵魂 16 问,你能撑到第几问?
- 微信公众号授权登录后报redirect_uri参数错误的问题
- Be careful with your dictionaries and boilerplate code
- Automatically generate test modules using JUnit4 and JUnitGenerator V2.0 in IDEA
- 活动推荐 | 2022年深圳最值得参加的边缘计算活动
- JUC原子类详解
- ML.NET相关资源整理
- Solve the problem of centos8 MySQL password ERROR 1820 (HY000) You must reset your password using the ALTER USER
猜你喜欢
Image Restoration by Estimating Frequency Distribution of Local Patches
[Machine Learning] The Beauty of Mathematics Behind Gradient Descent
JS中获取元素属性的8大方法
MySQL 灵魂 16 问,你能撑到第几问?
手动从0搭建ABP框架-ABP官方完整解决方案和手动搭建简化解决方案实践
cnpm安装步骤
DPW-SDNet: Dual Pixel-Wavelet Domain Deep CNNs for Soft Decoding of JPEG-Compressed Images
手把手教你搭建一台永久运行的个人服务器
深入浅出富文本编辑器
Solve the problem of centos8 MySQL password ERROR 1820 (HY000) You must reset your password using the ALTER USER
随机推荐
cnpm安装步骤
MySql 5.7.38下载安装教程 ,并实现在Navicat操作MySql
Markdown的使用
Deep Non-Local Kalman Network for VideoCompression Artifact Reduction
nVisual网络可视化管理平台功能和价值点
The reason for not using bs4 is that the name is too long?Crawl lottery lottery information
【问题】Mysql Waiting for table metadata lock 解决方案 修改lock_wait_timeout时间
关于SFML Rect.inl文件报错的问题
关于MySQL主从复制的数据同步延迟问题
新书上市 |《谁在掷骰子?》在“不确定性时代”中确定前行
1064 Complete Binary Search Tree
系统结构考点之PM2I单级网络
NEOVIM下载安装与配置
MySql创建数据表
共用体、共用体与结构体的区别、枚举之C语言犄角旮旯的知识
MySQL 游标
MySQL 5.7 detailed download, installation and configuration tutorial
3 minutes to take you to understand WeChat applet development
A simple rich text editor
cnpm的安装与使用