Prompt new site addition in raw mode

This commit is contained in:
shortcutme 2017-07-15 01:32:15 +02:00
parent 6a4882d81d
commit a0d85d7d83
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
4 changed files with 73 additions and 3 deletions

View file

@ -69,6 +69,7 @@ class UiServer:
self.learn_allowed_host = True # It will pin to the first http request's host
self.wrapper_nonces = []
self.add_nonces = []
self.site_manager = SiteManager.site_manager
self.sites = SiteManager.site_manager.list()
self.log = logging.getLogger(__name__)