Make sure all user emails that can be sent in enterprise properly adjust to the app's URL
This commit is contained in:
parent
a2f0f57414
commit
6b85ee3eb6
2 changed files with 19 additions and 14 deletions
3
app.py
3
app.py
|
@ -83,3 +83,6 @@ notification_queue = WorkQueue(app.config['NOTIFICATION_QUEUE_NAME'], tf)
|
|||
database.configure(app.config)
|
||||
model.config.app_config = app.config
|
||||
model.config.store = storage
|
||||
|
||||
def get_app_url():
|
||||
return '%s://%s' % (app.config['PREFERRED_URL_SCHEME'], app.config['SERVER_HOSTNAME'])
|
||||
|
|
Reference in a new issue