WIP
This commit is contained in:
@@ -11,6 +11,7 @@ type Config struct {
|
||||
DataPath string
|
||||
ConfigPath string
|
||||
JWTSecret string
|
||||
ListenPort string
|
||||
}
|
||||
|
||||
func NewConfig() *Config {
|
||||
@@ -21,6 +22,7 @@ func NewConfig() *Config {
|
||||
ConfigPath: getEnv("CONFIG_PATH", "/config"),
|
||||
DataPath: getEnv("DATA_PATH", "/data"),
|
||||
JWTSecret: getEnv("JWT_SECRET", "58b9340c0472cf045db226bc445966524e780cd38bc3dd707afce80c95d4de6f"),
|
||||
ListenPort: getEnv("LISTEN_PORT", "8484"),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user