🐞 fix(mid): 中转接口proxy错误
This commit is contained in:
@@ -32,7 +32,7 @@ module.exports = () => {
|
||||
let url = getProxyUrl(ctx.request.url);
|
||||
if(url) {
|
||||
let sid = getServerId(url, ctx);
|
||||
if(!ctx.app.config.sidToHost) {
|
||||
if(!ctx.app.config.sidToHost.has(sid)) {
|
||||
await getNewHost(sid);
|
||||
}
|
||||
if(!!ctx.app.config.sidToHost.get(sid)) {
|
||||
|
||||
Reference in New Issue
Block a user