Skip to content

Conversation

@PatrickRogg
Copy link

What kind of change does this PR introduce?

The current kong config for realtime doesn't forward requests to the /api routes. This PR addresses this.

What is the current behavior?

Current behaviour is that everything is forwarded to /socket. This leads to the problem that rest broadcast requests are resulting in a 404, since they are hitting /socket/api/broadcast, which doesn't exist.

What is the new behavior?

Requests to the api route are forwarded correctly

Additional context

Found this in the official docker config in the supabase repo: https://github.com/supabase/supabase/blob/master/docker/volumes/api/kong.yml#L134-L174

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant