Move http endpoints into seperate route

This commit is contained in:
Peter Stockings
2025-07-21 22:05:58 +10:00
parent 917189b3d9
commit 2ec44252bb
12 changed files with 552 additions and 304 deletions

View File

@@ -9,8 +9,8 @@ show_refresh=False,
show_logs=False,
show_client=False,
show_link=False,
dashboardUrl=url_for('dashboard_http_functions'),
cancel_url=url_for('dashboard_http_functions'),
dashboardUrl=url_for('http.dashboard_http_functions'),
cancel_url=url_for('http.dashboard_http_functions'),
title='New HTTP Function')
}}
@@ -32,9 +32,9 @@ title='New HTTP Function')
logRequest: {{ log_request | tojson }},
logResponse: {{ log_response | tojson }},
executeUrl: "{{ url_for('execute_code', playground='true') }}",
saveUrl: "{{ url_for('api_create_http_function') }}",
saveUrl: "{{ url_for('http.api_create_http_function') }}",
showDeleteButton: false,
dashboardUrl: "{{ url_for('dashboard_http_functions') }}"
dashboardUrl: "{{ url_for('http.dashboard_http_functions') }}"
})
})
</script>