diff --git a/master/main.py b/master/main.py index 057c1d8..4b5d6dd 100644 --- a/master/main.py +++ b/master/main.py @@ -533,7 +533,7 @@ def admin(): html += "

Domain: " + site.split(':')[0] + " | Worker: " + site.split(':')[1].strip('\n') + "

" - html += "


" + html += "

" # Form to add worker html += "

Add worker

" html += "
" @@ -543,7 +543,7 @@ def admin(): html += "" html += "
" - html += "

New Licence

" + html += "

Add Licence


" # Form to add site html += "

Add site

" html += "
" @@ -558,7 +558,7 @@ def admin(): return html -@app.route('/add-site') +@app.route('/add-site', methods=['POST']) def addsite(): # Check cookie login_key = request.cookies.get('login_key')