problem pretest

This commit is contained in:
undefined committed 2020-06-28 13:05:40 +08:00
1 parent dd5a212422
commit 554698189c
17 files changed
+127 -57

No files matched your search

+2 -1
View File
@@ -297,7 +297,7 @@ class Handler {
this.ctx.response.status = 302;
this.ctx.redirect(this.response.redirect);
} else {
if (this.response.body.redirect) {
if (this.response.redirect) {
this.response.body = this.response.body || {};
this.response.body.url = this.response.redirect;
}
@@ -438,6 +438,7 @@ class ConnectionHandler {
if (anchor) return `${res}#${anchor}`;
} catch (e) {
console.error(e.message);
console.error(name, kwargs);
}
return res;
}