feat: change proxy
This commit is contained in:
parent
1a8e31af59
commit
99320115d6
|
@ -12,7 +12,7 @@ module.exports = {
|
||||||
proxyTable: {
|
proxyTable: {
|
||||||
"/gyhl": {
|
"/gyhl": {
|
||||||
// target: "/gyhl", //8889
|
// target: "/gyhl", //8889
|
||||||
target: "https://www.newbest1.cn/gyhl",
|
target: "http://113.44.8.145:32/gyhl",
|
||||||
// // target:"http://192.168.1.194:21925", //lj-local
|
// // target:"http://192.168.1.194:21925", //lj-local
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
|
|
|
@ -109,7 +109,7 @@ export default {
|
||||||
*/
|
*/
|
||||||
uploadSuccess(response, file, fileList) {
|
uploadSuccess(response, file, fileList) {
|
||||||
// base.ftpPrefix
|
// base.ftpPrefix
|
||||||
const baseUrl = "http://113.44.8.145:32/";
|
const baseUrl = "http://36.137.58.70:52/";
|
||||||
const obj = {
|
const obj = {
|
||||||
name:response.fileName,
|
name:response.fileName,
|
||||||
path:baseUrl + response.filePath
|
path:baseUrl + response.filePath
|
||||||
|
|
Loading…
Reference in New Issue