allow custom obfs & protocol
This commit is contained in:
parent
c7864acc37
commit
7f26f43f88
2 changed files with 3 additions and 1 deletions
|
@ -5,6 +5,8 @@ def getKeys():
|
|||
key_list = ['port', 'u', 'd', 'transfer_enable', 'passwd', 'enable' ]
|
||||
if get_config().API_INTERFACE == 'sspanelv3':
|
||||
key_list += ['method']
|
||||
elif get_config().API_INTERFACE == 'sspanelv3ssr':
|
||||
key_list += ['method', 'obfs', 'protocol']
|
||||
return key_list
|
||||
#return key_list + ['plan'] # append the column name 'plan'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue