Skip to content

Commit

Permalink
fix: admin create url error
Browse files Browse the repository at this point in the history
  • Loading branch information
moogoo78 committed Jun 12, 2024
1 parent c579cd6 commit 5fbf187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/blueprints/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def modify_frontend_collection_record(collection_id, record_id):
@admin.route('/collections/<int:collection_id>/records')
def create_frontend_collection_record(collection_id):
#return send_from_directory('blueprints/admin_static/record-form', 'index.html')
return send_from_directory('/build/admin-record-form/record-form', 'index.html')
return send_from_directory('/build/admin-record-form', 'index.html')

@admin.route('/static_build/<path:filename>')
def static_build(filename):
Expand Down

0 comments on commit 5fbf187

Please sign in to comment.