mirror of
https://github.com/aaPanel/aaPanel.git
synced 2026-09-27 20:04:50 +02:00
Update to v8.16.0
This commit is contained in:
@@ -366,6 +366,9 @@ class NodeJs():
|
||||
except ValueError:
|
||||
res_domains.append({"name": domain, "status": False, "msg": 'Incorrect domain name format'})
|
||||
continue
|
||||
if int(domain_arr[1]) == 443:
|
||||
res_domains.append({"name": domain, "status": False, "msg": 'Port 443 is not allowed for Node.js projects'})
|
||||
continue
|
||||
if not public.M('domain').where('name=? and port=?', (domain_arr[0], domain_arr[1])).count():
|
||||
public.M('domain').add('name,pid,port,addtime',
|
||||
(domain_arr[0], project_id, domain_arr[1], public.getDate()))
|
||||
|
||||
Reference in New Issue
Block a user