From 2f158f50dec2a2c8b429e43aefe65e1fece759ad Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Wed, 1 Jul 2020 20:08:00 +0200 Subject: [PATCH] Add back that static file --- first.py | 2 +- static/apps.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 static/apps.json diff --git a/first.py b/first.py index 6cd4f49..2623bdc 100644 --- a/first.py +++ b/first.py @@ -28,7 +28,7 @@ yaml = YAML() # on deployment mode ./data in dev, /data in production DATA_DIR = Path("./data") -STATIC_DIR = Path(app.root_path).absolute() / "static" +STATIC_DIR = Path(".").absolute() / "static" class InstallAppInputForm(FlaskForm): diff --git a/static/apps.json b/static/apps.json new file mode 100644 index 0000000..8d48edc --- /dev/null +++ b/static/apps.json @@ -0,0 +1,3 @@ +{ + "gitea": "https://git.autonomic.zone/compose-stacks/gitea" +}