refactor(#29): Update supabase config.toml

This commit is contained in:
Josh Creek
2024-09-03 20:05:32 +01:00
parent ff71f7a0db
commit 5c0cce9e47
+6 -11
View File
@@ -1,6 +1,6 @@
# A string used to distinguish different Supabase projects on the same host. Defaults to the # A string used to distinguish different Supabase projects on the same host. Defaults to the
# working directory name when running `supabase init`. # working directory name when running `supabase init`.
project_id = "SvelteKitSaasBoilerplate" project_id = "saas"
[api] [api]
enabled = true enabled = true
@@ -49,8 +49,6 @@ enabled = true
port = 54323 port = 54323
# External URL of the API server that frontend connects to. # External URL of the API server that frontend connects to.
api_url = "http://127.0.0.1" api_url = "http://127.0.0.1"
# OpenAI API Key to use for Supabase AI in the Supabase Studio.
openai_api_key = "env(OPENAI_API_KEY)"
# Email testing server. Emails sent with the local dev setup are not actually sent - rather, they # Email testing server. Emails sent with the local dev setup are not actually sent - rather, they
# are monitored, and you can view the emails that would have been sent from the web interface. # are monitored, and you can view the emails that would have been sent from the web interface.
@@ -67,16 +65,13 @@ enabled = true
# The maximum file size allowed (e.g. "5MB", "500KB"). # The maximum file size allowed (e.g. "5MB", "500KB").
file_size_limit = "50MiB" file_size_limit = "50MiB"
[storage.image_transformation]
enabled = true
[auth] [auth]
enabled = true enabled = true
# The base URL of your website. Used as an allow-list for redirects and for constructing URLs used # The base URL of your website. Used as an allow-list for redirects and for constructing URLs used
# in emails. # in emails.
site_url = "http://127.0.0.1:3000" site_url = "http://localhost:5173"
# A list of *exact* URLs that auth providers are permitted to redirect to post authentication. # A list of *exact* URLs that auth providers are permitted to redirect to post authentication.
additional_redirect_urls = ["https://127.0.0.1:3000"] additional_redirect_urls = ["http://localhost:5173/auth/confirm", "http://localhost:5173/auth/callback"]
# How long tokens are valid for, in seconds. Defaults to 3600 (1 hour), maximum 604,800 (1 week). # How long tokens are valid for, in seconds. Defaults to 3600 (1 hour), maximum 604,800 (1 week).
jwt_expiry = 3600 jwt_expiry = 3600
# If disabled, the refresh token will never expire. # If disabled, the refresh token will never expire.
@@ -112,9 +107,9 @@ max_frequency = "1s"
# sender_name = "Admin" # sender_name = "Admin"
# Uncomment to customize email template # Uncomment to customize email template
# [auth.email.template.invite] [auth.email.template.magic_link]
# subject = "You have been invited" subject = "Sign in to your account"
# content_path = "./supabase/templates/invite.html" content_path = "./supabase/templates/magic_link.html"
[auth.sms] [auth.sms]
# Allow/disallow new user signups via SMS to your project. # Allow/disallow new user signups via SMS to your project.