This commit is contained in:
陆柯 2021-11-28 10:07:46 +08:00
parent 840540d4b2
commit 1515115673

View File

@ -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) {