diff --git a/code/app.py b/code/app.py index 0c4c700..c7083ca 100644 --- a/code/app.py +++ b/code/app.py @@ -45,7 +45,7 @@ logging.basicConfig( format=f"[%(asctime)s] [%(levelname)s] %(message)s", ) -__VERSION__ = "20240928.0" +__VERSION__ = "20250123.0" app = Flask(__name__) app.config.from_object(__name__) app.config.from_prefixed_env() @@ -68,8 +68,10 @@ def log_the_status_code(response): @app.route("/") def index(): - """Returns Nothing""" - return "", 200 + """Returns Index""" + return render_template( + "index.html" + ) @app.route('/health.html', methods=["GET",]) # fmt: skip diff --git a/code/static/mfl.svg b/code/static/mfl.svg new file mode 100644 index 0000000..e79d660 --- /dev/null +++ b/code/static/mfl.svg @@ -0,0 +1,67 @@ + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/code/templates/index.html b/code/templates/index.html new file mode 100644 index 0000000..389630d --- /dev/null +++ b/code/templates/index.html @@ -0,0 +1,9 @@ + + + + + MF + + + + diff --git a/docker-compose.yaml b/docker-compose.yaml index 468bf45..0818cb1 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,5 +1,3 @@ -version: '2' - services: miniflees: