From 5fbf1874dcff94233f4203736cc898be42e86858 Mon Sep 17 00:00:00 2001 From: MooGoo Date: Thu, 13 Jun 2024 03:03:22 +0800 Subject: [PATCH] fix: admin create url error --- app/blueprints/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/blueprints/admin.py b/app/blueprints/admin.py index caf4626..630b38a 100644 --- a/app/blueprints/admin.py +++ b/app/blueprints/admin.py @@ -388,7 +388,7 @@ def modify_frontend_collection_record(collection_id, record_id): @admin.route('/collections//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/') def static_build(filename):