🐞 fix(37接口): 转发路由bug
This commit is contained in:
@@ -33,7 +33,7 @@ module.exports = () => {
|
|||||||
if(url) {
|
if(url) {
|
||||||
let sid = getServerId(url, ctx);
|
let sid = getServerId(url, ctx);
|
||||||
if(!ctx.app.config.sidToHost.has(sid)) {
|
if(!ctx.app.config.sidToHost.has(sid)) {
|
||||||
await getNewHost(sid);
|
await getNewHost(ctx);
|
||||||
}
|
}
|
||||||
if(!!ctx.app.config.sidToHost.get(sid)) {
|
if(!!ctx.app.config.sidToHost.get(sid)) {
|
||||||
options[url] = {
|
options[url] = {
|
||||||
|
|||||||
Reference in New Issue
Block a user