- 这是在线编译器的前台界面,后端接口项目地址:https://github.com/noxue/noxue-code
yarn build
- 配置 nginx 伪静态规则,用于请求到后端接口,我接口部署在同服务器的8585端口,规则如下:
location ^~ /api{
proxy_pass http://127.0.0.1:8585;
}
- 有bug请联系我,微信qq同号:173126019
yarn build
location ^~ /api{
proxy_pass http://127.0.0.1:8585;
}