Skip to content

Commit 16683bc

Browse files
committed
add BindEnv for AllowedOrigins
1 parent ab5c61c commit 16683bc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

config/config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ func load() Config {
8383
v.SetDefault("Ingestors.CSFloat.BaseURL", "https://csfloat.com")
8484

8585
// Need to register environment variables if defaults aren't set
86+
v.BindEnv("HTTP.AllowedOrigins")
8687
v.BindEnv("Ingestors.CSFloat.SecretKey")
8788

8889
// Try to find the root directory, but don't panic if it fails since go.mod doesn't exist in production

0 commit comments

Comments
 (0)