summaryrefslogtreecommitdiff
path: root/internal/config/validate.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/config/validate.go')
-rw-r--r--internal/config/validate.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/config/validate.go b/internal/config/validate.go
index b68cb2c62..064eae07a 100644
--- a/internal/config/validate.go
+++ b/internal/config/validate.go
@@ -62,6 +62,11 @@ func Validate() error {
errs = append(errs, fmt.Errorf("%s must be set to either http or https, provided value was %s", ProtocolFlag(), proto))
}
+ webAssetsBaseDir := GetWebAssetBaseDir()
+ if webAssetsBaseDir == "" {
+ errs = append(errs, fmt.Errorf("%s must be set", WebAssetBaseDirFlag()))
+ }
+
if len(errs) > 0 {
errStrings := []string{}
for _, err := range errs {