mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-12-04 11:05:32 +00:00
Update index router to replace the use of the deprecated before_app_first_request
event with record_once
(#1705)
This commit is contained in:
commit
a85827f302
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user