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 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 }