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:
6
app.py
6
app.py
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user