Skip to content

Commit

Permalink
fix(functions/serve): wrong SUPABASE_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
soedirgo committed Mar 28, 2022
1 parent 08a33ba commit d208668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/functions/serve/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func Run(envFilePath string, slug string) error {
fmt.Println("Serving " + utils.Bold("supabase/functions/"+slug))

env := []string{
"SUPABASE_URL=http://localhost:" + strconv.FormatUint(uint64(utils.Config.Api.Port), 10),
"SUPABASE_URL=http://" + utils.KongId + ":8000",
"SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
"SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6InNlcnZpY2Vfcm9sZSJ9.vI9obAHOGyVVKa3pD--kJlyxp-Z2zV9UUMAhKpNLAcU",
"SUPABASE_DB_URL=postgresql://postgres:postgres@localhost:" + strconv.FormatUint(uint64(utils.Config.Db.Port), 10) + "/postgres",
Expand Down

0 comments on commit d208668

Please sign in to comment.