From 28c63abea438316ca4a3026bc1f9081780f916fe Mon Sep 17 00:00:00 2001 From: Matt Scott Date: Fri, 24 Nov 2023 08:18:20 -0500 Subject: [PATCH] Updated the index router to pivot from the use of the deprecated `before_app_first_request` event to the replacement of `record_once`. --- powerdnsadmin/routes/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerdnsadmin/routes/index.py b/powerdnsadmin/routes/index.py index 23d88bb..aaf2ed3 100644 --- a/powerdnsadmin/routes/index.py +++ b/powerdnsadmin/routes/index.py @@ -46,7 +46,7 @@ index_bp = Blueprint('index', url_prefix='/') -@index_bp.before_app_first_request +@index_bp.record_once def register_modules(): global google global github