Skip to content

Commit

Permalink
fix env naming
Browse files Browse the repository at this point in the history
  • Loading branch information
vinit717 committed Jul 1, 2024
1 parent 918e7c9 commit 383e843
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/core-config.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ func loadConfig() {
GoogleClientSecret = getEnvVar("GOOGLE_CLIENT_SECRET")
GoogleRedirectUrl = getEnvVar("GOOGLE_REDIRECT_URL")

MaxUrlCount = getEnvInt("Max_Url_Count")
TokenExpiration = getEnvInt("TokenExpiration")
MaxUrlCount = getEnvInt("USER_MAX_URL_COUNT")
TokenExpiration = getEnvInt("TOKEN_VALIDITY_IN_SECOND")

AllowedOrigin = getEnvVar("ALLOWED_ORIGINS")

Expand Down

0 comments on commit 383e843

Please sign in to comment.