From 986a1a2a257a3707ff0d8d7b22225aeec7f873fa Mon Sep 17 00:00:00 2001 From: Michatec Date: Sat, 8 Nov 2025 21:17:47 +0100 Subject: [PATCH] Secret Page removed. --- main.py | 5 - routes/{example oauth.py => example_oauth.py} | 0 templates/secret.html | 294 ------------------ 3 files changed, 299 deletions(-) rename routes/{example oauth.py => example_oauth.py} (100%) delete mode 100644 templates/secret.html diff --git a/main.py b/main.py index 78848bb..5706fbd 100644 --- a/main.py +++ b/main.py @@ -229,11 +229,6 @@ def not_found(error): return redirect(url_for('post.feed')) return render_template('index.html'), 200 -@app.route('/secret') -@login_required -def secret(): - return render_template('secret.html') - if __name__ == '__main__': try: serve(app, host="0.0.0.0", port=80, threads=12) diff --git a/routes/example oauth.py b/routes/example_oauth.py similarity index 100% rename from routes/example oauth.py rename to routes/example_oauth.py diff --git a/templates/secret.html b/templates/secret.html deleted file mode 100644 index fcdd5ae..0000000 --- a/templates/secret.html +++ /dev/null @@ -1,294 +0,0 @@ -{% extends 'base.html' %} -{% block title %}{{ _('Secret') }}{% endblock %} -{% block content %} -

Secret

- - -{% endblock %} \ No newline at end of file