Skip to content

Commit

Permalink
fix: use SCREAMING_SNAKE_CASE for viper reads
Browse files Browse the repository at this point in the history
  • Loading branch information
nayyara-airlangga authored Jul 26, 2024
1 parent 82df290 commit 29d6c93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions function.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ var (
)

func init() {
defaultServiceUrl = viper.GetString("service_url")
defaultCasUrl = viper.GetString("cas_url")
defaultServiceUrl = viper.GetString("SERVICE_URL")
defaultCasUrl = viper.GetString("CAS_URL")
functions.HTTP("Proxy", Proxy)
}

Expand Down

0 comments on commit 29d6c93

Please sign in to comment.