mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update site.py
This commit is contained in:
+1
-1
@@ -2098,7 +2098,7 @@ location ^~ {from} {\n\
|
|||||||
for field in keys:
|
for field in keys:
|
||||||
t[field] = ''
|
t[field] = ''
|
||||||
dnsapi_option[i]['data'] = t
|
dnsapi_option[i]['data'] = t
|
||||||
return dnsapi_option
|
return mw.returnData(True, 'OK', dnsapi_option)
|
||||||
|
|
||||||
def setDnsapi(self, type, data):
|
def setDnsapi(self, type, data):
|
||||||
dnsapi_data = thisdb.getOptionByJson('dnsapi', default={})
|
dnsapi_data = thisdb.getOptionByJson('dnsapi', default={})
|
||||||
|
|||||||
Reference in New Issue
Block a user