添加URLProtocol

添加URLProtocol
pull/125/head
horizonlin 2018-12-18 11:11:06 +08:00 committed by GitHub
parent c019172197
commit 797ab4bd8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -36,9 +36,11 @@ class RemoteHandler(TPBaseHandler):
return
err, groups = group.get_host_groups_for_user(self.current_user['id'], self.current_user['privilege'])
_cfg = tp_cfg()
param = {
'host_groups': groups,
'core_cfg': tp_cfg().core
'core_cfg': _cfg.core,
'url_proto': _cfg.sys.glob.url_proto
}
# param = {