diff --git a/conf/config.dev.yaml b/conf/config.dev.yaml index 6d06523a..5c106d89 100644 --- a/conf/config.dev.yaml +++ b/conf/config.dev.yaml @@ -1,5 +1,5 @@ server: - host: 127.0.0.1 + host: 0.0.0.0 port: 8080 logging: diff --git a/event/listener/template_config.go b/event/listener/template_config.go index 7404ba36..22fa12ba 100644 --- a/event/listener/template_config.go +++ b/event/listener/template_config.go @@ -66,6 +66,10 @@ func (t *TemplateConfigListener) HandleUserUpdateEvent(ctx context.Context, user } func (t *TemplateConfigListener) HandleOptionUpdateEvent(ctx context.Context, optionUpdateEvent event.Event) error { + err := t.loadThemeConfig(ctx) + if err != nil { + return err + } return t.loadOption(ctx) }