This commit is contained in:
hillerliao
2022-01-02 22:13:53 +08:00
parent 7b015edb44
commit 0828ff7544
2 changed files with 36 additions and 1 deletions

View File

@@ -23,7 +23,7 @@ def create_app(config_name=None):
from rsshub.google_analytics import ga_account
Analytics(app)
app.config['ANALYTICS']['GOOGLE_CLASSIC_ANALYTICS']['ACCOUNT'] = ga_account
app.config['ANALYTICS']['GOOGLE_UNIVERSAL_ANALYTICS']['ACCOUNT'] = ga_account
app.config['ANALYTICS']['ENABLED'] = True
register_blueprints(app)