Remove unused timer functions dashboard route and template

- Delete `/dashboard/timer_functions` route from `app.py`
- Remove `timer_functions.html` template
- Simplify application routing by eliminating unused dashboard view
This commit is contained in:
Peter Stockings
2025-02-21 00:19:22 +11:00
parent 3b7c630a44
commit f42c3257a8
2 changed files with 0 additions and 45 deletions

6
app.py
View File

@@ -250,12 +250,6 @@ def get_http_function_history(function_id):
return render_block(app.jinja_env, 'dashboard/http_functions/history.html', 'page', user_id=user_id, function_id=function_id, name=name, http_function=http_function, http_function_history=http_function_history, original_script=original_script)
return render_template("dashboard/http_functions/history.html", user_id=user_id, name=name, function_id=function_id, http_function=http_function, http_function_history=http_function_history, original_script=original_script)
@ app.route("/dashboard/timer_functions", methods=["GET"])
@login_required
def dashboard_timer_functions():
return render_template("dashboard/timer_functions.html")
@app.route('/execute', methods=['POST'])
def execute_code():
try: