-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from maricaantonacci/devel
Updating dependencies for CVE-2019-14806 Handling token expiration
- Loading branch information
Showing
13 changed files
with
204 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,6 @@ | |
"ORCHESTRATOR_URL": "https://indigo-paas.cloud.ba.infn.it/orchestrator", | ||
"SLAM_URL": "https://indigo-slam.cloud.ba.infn.it:8443", | ||
"CMDB_URL": "https://indigo-paas.cloud.ba.infn.it/cmdb", | ||
"TOSCA_TEMPLATES_DIR": "/opt/tosca-templates" | ||
"TOSCA_TEMPLATES_DIR": "/opt/tosca-templates", | ||
"SUPPORT_EMAIL": "[email protected]" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from flask import render_template, request | ||
from app import app | ||
|
||
@app.errorhandler(404) | ||
def page_not_found(error): | ||
app.logger.error('Page not found: %s', (request.path)) | ||
return render_template('404.html'), 404 | ||
|
||
|
||
@app.errorhandler(500) | ||
def internal_server_error(error): | ||
app.logger.error('Server Error: %s', (error)) | ||
return render_template('500.html', support_email=app.config.get('SUPPORT_EMAIL')), 500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.