url_for was moved to _module._url_for
This commit is contained in:
parent
ea47c81ece
commit
fa33a927b1
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class Handler(http.server.BaseHTTPRequestHandler):
|
|||
return _bot.get_setting("rest-api-minify", False)
|
||||
|
||||
def _url_for(self, headers):
|
||||
return lambda route, endpoint, get_params={}: self.url_for(
|
||||
return lambda route, endpoint, get_params={}: _module._url_for(
|
||||
route, endpoint, get_params, headers.get("Host", None))
|
||||
|
||||
def _handle(self, method, path, endpoint, args):
|
||||
|
|
Loading…
Reference in a new issue