Skip to content

Commit

Permalink
chore: using env variables in config.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
NoorFatima01 committed May 5, 2024
1 parent c2011f4 commit 5d93591
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions supabase/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ file_size_limit = "50MiB"
enabled = true
# The base URL of your website. Used as an allow-list for redirects and for constructing URLs used
# in emails.
site_url = "http://localhost:3000"
site_url = env(SITE_URL)
# A list of exact URLs that auth providers are permitted to redirect to post authentication.
additional_redirect_urls = ["https://localhost:3000"]
additional_redirect_urls = [env(SITE_URL)]
# How long tokens are valid for, in seconds. Defaults to 3600 (1 hour), maximum 604,800 (1 week).
jwt_expiry = 3600
# If disabled, the refresh token will never expire.
Expand Down

0 comments on commit 5d93591

Please sign in to comment.