mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-06 13:25:51 +01:00
bug fix with external app
This commit is contained in:
@@ -4672,10 +4672,10 @@ StrictHostKeyChecking no
|
||||
|
||||
website = Websites.objects.get(domain=self.domain)
|
||||
|
||||
if website.externalApp != data['externalApp']:
|
||||
data_ret = {'status': 0, 'error_message': 'External app mis-match.'}
|
||||
json_data = json.dumps(data_ret)
|
||||
return HttpResponse(json_data)
|
||||
# if website.externalApp != data['externalApp']:
|
||||
# data_ret = {'status': 0, 'error_message': 'External app mis-match.'}
|
||||
# json_data = json.dumps(data_ret)
|
||||
# return HttpResponse(json_data)
|
||||
|
||||
uBuntuPath = '/etc/lsb-release'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user