mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-12-04 19:15:30 +00:00
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:
parent
5147d72999
commit
28c63abea4
@ -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