Update index router to replace the use of the deprecated before_app_first_request event with record_once (#1705)

This commit is contained in:
Matt Scott 2023-11-24 08:25:38 -05:00 committed by GitHub
commit a85827f302
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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