feat: Add a publishing page to stop timeouts

This commit is contained in:
2024-02-25 14:31:05 +11:00
parent 96f7f0fece
commit 8cdaec6749
2 changed files with 42 additions and 1 deletions

View File

@@ -217,7 +217,7 @@ def site_post():
with open(f'sites/{i["name"]}.json', 'w') as file:
json.dump(data, file)
return redirect('/site')
return redirect('/publishing')
response = make_response(redirect('/'))
response.set_cookie('auth', '', expires=0)
@@ -333,6 +333,10 @@ def wallets(path):
return render_template('404.html', year=datetime.datetime.now().year), 404
@app.route('/publishing')
def publishing():
return render_template('publishing.html')
# region Auth
@app.route('/auth', methods=['POST'])
def auth():