docs: future feat todo
This commit is contained in:
parent
b19520eb6e
commit
6da8421b2e
@ -37,6 +37,8 @@ type Config struct {
|
||||
AppEnv string `env:"APP_ENV" envDefault:"production"`
|
||||
}
|
||||
|
||||
// TODO: add flag to enable/disable registration of new users
|
||||
|
||||
func init() {
|
||||
config = Config{}
|
||||
if err := env.Parse(&config); err != nil {
|
||||
@ -52,6 +54,7 @@ func init() {
|
||||
FrontendURL: config.FrontendURL,
|
||||
}
|
||||
|
||||
log.Debug().Msgf("IsProd=%t, Domain='%s', FrontendURL='%s'", svcConfig.IsProd, svcConfig.Domain, svcConfig.FrontendURL)
|
||||
log.Debug().Msg("Initialization completed")
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user