feat(http): config changes
This commit is contained in:
parent
0d12fdddc9
commit
f13ad8a882
1 changed files with 1 additions and 1 deletions
|
|
@ -88,6 +88,6 @@ type HTTP struct {
|
||||||
HTTPTimeout time.Duration `env:"HTTP_TIMEOUT,default=60s"`
|
HTTPTimeout time.Duration `env:"HTTP_TIMEOUT,default=60s"`
|
||||||
JsonSizeLimit int64 `env:"JSON_SIZE_LIMIT,default=131072"` // 128KB, 1000 for HTTP service
|
JsonSizeLimit int64 `env:"JSON_SIZE_LIMIT,default=131072"` // 128KB, 1000 for HTTP service
|
||||||
UseAccessControlHeaders bool `env:"USE_CORS,default=false"`
|
UseAccessControlHeaders bool `env:"USE_CORS,default=false"`
|
||||||
JWTSecret string `env:"JWT_SECRET,required"`
|
JWTSecret string `env:"JWT_SECRET"`
|
||||||
JWTSpotSecret string `env:"JWT_SPOT_SECRET"`
|
JWTSpotSecret string `env:"JWT_SPOT_SECRET"`
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue