Skip to content

Commit 74ef3f6

Browse files
Rodriguespnclaude
andcommitted
revert: remove SUPABASE_PUBLIC_URL env var
The OAuth protected resource redirect feature doesn't require SUPABASE_PUBLIC_URL. Edge Functions can handle URL resolution themselves using custom env vars like PUBLIC_URL if needed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 8776924 commit 74ef3f6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

internal/functions/serve/serve.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ func ServeFunctions(ctx context.Context, envFilePath string, noVerifyJWT *bool,
128128
}
129129
env = append(env,
130130
fmt.Sprintf("SUPABASE_URL=http://%s:8000", utils.KongAliases[0]),
131-
"SUPABASE_PUBLIC_URL="+utils.Config.Api.ExternalUrl,
132131
"SUPABASE_ANON_KEY="+utils.Config.Auth.AnonKey.Value,
133132
"SUPABASE_SERVICE_ROLE_KEY="+utils.Config.Auth.ServiceRoleKey.Value,
134133
"SUPABASE_DB_URL="+dbUrl,

0 commit comments

Comments
 (0)