feat(http): config changes

This commit is contained in:
Alexander 2025-02-28 15:41:45 +01:00
parent 0d12fdddc9
commit f13ad8a882

View file

@ -88,6 +88,6 @@ type HTTP struct {
HTTPTimeout time.Duration `env:"HTTP_TIMEOUT,default=60s"`
JsonSizeLimit int64 `env:"JSON_SIZE_LIMIT,default=131072"` // 128KB, 1000 for HTTP service
UseAccessControlHeaders bool `env:"USE_CORS,default=false"`
JWTSecret string `env:"JWT_SECRET,required"`
JWTSecret string `env:"JWT_SECRET"`
JWTSpotSecret string `env:"JWT_SPOT_SECRET"`
}