From ba7c880d13f847d80e1628e5a7ef73f232ab04ea Mon Sep 17 00:00:00 2001 From: fliiiix Date: Wed, 8 Apr 2020 09:58:15 +0200 Subject: [PATCH 1/2] bugfix(web): await result --- web/src/components/Layout.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/Layout.vue b/web/src/components/Layout.vue index 007085ef6..9e16af2b1 100644 --- a/web/src/components/Layout.vue +++ b/web/src/components/Layout.vue @@ -42,7 +42,7 @@ export default { } }, async created() { - const config = ProjectRepository.getConfig() + const config = await ProjectRepository.getConfig() if (config.hasOwnProperty('headerHTML')){ this.header = config.headerHTML } From f1b47bff706fa041ad9c918c37e5f696fdb65be0 Mon Sep 17 00:00:00 2001 From: fliiiix Date: Wed, 8 Apr 2020 09:58:35 +0200 Subject: [PATCH 2/2] doc(web): more docs for config.json --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index fd21b719d..dde4068a3 100644 --- a/README.md +++ b/README.md @@ -47,3 +47,15 @@ When you have multiple versions you may want to tag some version as **latest**: # tag the version VERSION of project PROJECT as latest curl -X PUT http://localhost:8000/api/PROJECT/VERSION/tags/latest ``` + + +## Advanced config.json + +It is possible to configure some things after the fact. + +1. Create a `config.json` file +2. Mount it inside your docker container `--volume /path/to/config.json:/var/www/html/config.json` + +Supported config options: + +* headerHTML