u
This commit is contained in:
parent
840540d4b2
commit
1515115673
2
index.js
2
index.js
@ -87,7 +87,7 @@ module.exports = {
|
|||||||
this.SERVER_HOSTNAME_DEV // 在本机的手机模拟器里可以,在虚拟机的浏览器里也可以,但是运行到连接的iPhone里就无法连接,不知为何
|
this.SERVER_HOSTNAME_DEV // 在本机的手机模拟器里可以,在虚拟机的浏览器里也可以,但是运行到连接的iPhone里就无法连接,不知为何
|
||||||
protocol = 'http'
|
protocol = 'http'
|
||||||
}
|
}
|
||||||
return `${protocol}://${hostname}:${port}/${route}`
|
return `${protocol}://${hostname}:${port}/${route.replace(/^\//, '')}`
|
||||||
},
|
},
|
||||||
|
|
||||||
makeBgUrl(path) {
|
makeBgUrl(path) {
|
||||||
|
Loading…
Reference in New Issue
Block a user