|
|
@ -45,7 +45,7 @@ export function initAxiosInterceptors(props) {
|
|
|
|
// https://github.com/axios/axios/issues/1497
|
|
|
|
// https://github.com/axios/axios/issues/1497
|
|
|
|
|
|
|
|
|
|
|
|
// TODO 读取到package.json中的配置?
|
|
|
|
// TODO 读取到package.json中的配置?
|
|
|
|
var //proxy = "http://localhost:3000"
|
|
|
|
var proxy = "http://localhost:3000"
|
|
|
|
//proxy = "http://testbdweb.trustie.net"
|
|
|
|
//proxy = "http://testbdweb.trustie.net"
|
|
|
|
//proxy = "http://testbdweb.educoder.net"
|
|
|
|
//proxy = "http://testbdweb.educoder.net"
|
|
|
|
// proxy = "https://testeduplus2.educoder.net"
|
|
|
|
// proxy = "https://testeduplus2.educoder.net"
|
|
|
@ -54,7 +54,7 @@ export function initAxiosInterceptors(props) {
|
|
|
|
// proxy="https://test-newweb.educoder.net"
|
|
|
|
// proxy="https://test-newweb.educoder.net"
|
|
|
|
//proxy="https://test-jupyterweb.educoder.net"
|
|
|
|
//proxy="https://test-jupyterweb.educoder.net"
|
|
|
|
//proxy="http://192.168.2.63:3001"
|
|
|
|
//proxy="http://192.168.2.63:3001"
|
|
|
|
proxy="http://123.59.135.93:56666"
|
|
|
|
// proxy="http://123.59.135.93:56666"
|
|
|
|
|
|
|
|
|
|
|
|
// 在这里使用requestMap控制,避免用户通过双击等操作发出重复的请求;
|
|
|
|
// 在这里使用requestMap控制,避免用户通过双击等操作发出重复的请求;
|
|
|
|
// 如果需要支持重复的请求,考虑config里面自定义一个allowRepeat参考来控制
|
|
|
|
// 如果需要支持重复的请求,考虑config里面自定义一个allowRepeat参考来控制
|
|
|
|