Mercurial > libervia-web
changeset 1175:ab858db9dbee
server: fixed getPagePathFromURI
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 03 May 2019 20:52:56 +0200 |
parents | e0b3f1d78f8c |
children | ddc1e704bc41 |
files | libervia/server/pages.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libervia/server/pages.py Fri May 03 20:52:13 2019 +0200 +++ b/libervia/server/pages.py Fri May 03 20:52:56 2019 +0200 @@ -506,7 +506,7 @@ return self.vhost_root.getPageByName(name) def getPagePathFromURI(self, uri): - return self.vhost.getPagePathFromURI(uri) + return self.vhost_root.getPagePathFromURI(uri) def getPageRedirectURL(self, request, page_name=u"login", url=None): """generate URL for a page with redirect_url parameter set