Coverage for app.py: 0%
3 statements
« prev ^ index » next coverage.py v7.11.0, created at 2025-10-17 22:07 +0000
« prev ^ index » next coverage.py v7.11.0, created at 2025-10-17 22:07 +0000
1# This file serves as an entry point for the rock image. It is required by the PaaS app charmer.
2# The flask application must be defined in this file under the variable name `app`.
3import os
5# canonicalwebteam.flask-base requires SECRET_KEY to be set, this must be done before importing the app
6os.environ["SECRET_KEY"] = os.environ["FLASK_SECRET_KEY"]
8from webapp.app import app