Fix display site add prompt

This commit is contained in:
shortcutme 2019-09-19 16:32:30 +02:00
parent b474677db1
commit 93e6ec4933
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -647,6 +647,7 @@ class UiRequest(object):
SiteManager.site_manager.need(post["address"])
return self.actionRedirect(post["url"])
@helper.encodeResponse
def actionSiteAddPrompt(self, path):
path_parts = self.parsePath(path)
if not path_parts or not self.server.site_manager.isAddress(path_parts["address"]):