Skip to content

Commit ca3fefc

Browse files
authored
Merge pull request #56 from randombenj/bugfix/config-file
Bugfix/config file
2 parents e587e29 + f1b47bf commit ca3fefc

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,15 @@ When you have multiple versions you may want to tag some version as **latest**:
4747
# tag the version VERSION of project PROJECT as latest
4848
curl -X PUT http://localhost:8000/api/PROJECT/VERSION/tags/latest
4949
```
50+
51+
52+
## Advanced config.json
53+
54+
It is possible to configure some things after the fact.
55+
56+
1. Create a `config.json` file
57+
2. Mount it inside your docker container `--volume /path/to/config.json:/var/www/html/config.json`
58+
59+
Supported config options:
60+
61+
* headerHTML

web/src/components/Layout.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default {
4242
}
4343
},
4444
async created() {
45-
const config = ProjectRepository.getConfig()
45+
const config = await ProjectRepository.getConfig()
4646
if (config.hasOwnProperty('headerHTML')){
4747
this.header = config.headerHTML
4848
}

0 commit comments

Comments
 (0)