增加urlprotocol配置

增加urlprotocol配置
pull/124/head
horizonlin 2018-12-11 14:32:59 +08:00 committed by GitHub
parent e963a59db0
commit 3a669310bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 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
'url_proto': _cfg.sys.glob.url_proto
}
# param = {