mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-12-04 19:15:30 +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='/')
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user