Add in version history for http functions

and also load .env in dev mode
This commit is contained in:
Peter Stockings
2024-05-18 21:55:11 +10:00
parent b4c67d8346
commit 2b4ca571ca
8 changed files with 239 additions and 7 deletions

View File

@@ -4,7 +4,8 @@
{{ render_partial('dashboard/http_functions/header.html', title='Update', user_id=user_id, function_id=function_id,
name=name,
refresh_url=url_for('get_http_function_edit_form', function_id=function_id), show_logs=True, show_client=True) }}
refresh_url=url_for('get_http_function_edit_form', function_id=function_id), show_logs=True, show_client=True,
show_history=True) }}
{{ render_partial('function_editor.html', function_id=function_id, name=name, script=script,
environment_info=environment_info,