Make setting extraUserInfoFileName optional

This commit is contained in:
Gabe Kangas
2020-07-13 15:10:16 -07:00
parent b23adcecb1
commit 15f24b84ce
2 changed files with 7 additions and 1 deletions

View File

@@ -207,5 +207,12 @@ func Load(filePath string, versionInfo string) error {
Config.VersionInfo = versionInfo
// Defaults
// This is relative to the webroot, not the project root.
if Config.InstanceDetails.ExtraInfoFile == "" {
Config.InstanceDetails.ExtraInfoFile = "/static/content.md"
}
return Config.verifySettings()
}