Updated the index router to pivot from the use of the deprecated before_app_first_request event to the replacement of record_once.

This commit is contained in:
Matt Scott 2023-11-24 08:18:20 -05:00
parent 5147d72999
commit 28c63abea4
No known key found for this signature in database
GPG Key ID: A9A0AFFC0E079001

View File

@ -46,7 +46,7 @@ index_bp = Blueprint('index',
url_prefix='/') url_prefix='/')
@index_bp.before_app_first_request @index_bp.record_once
def register_modules(): def register_modules():
global google global google
global github global github