Closed jfoucher closed 4 months ago
Visit the deploys page to approve it
Name | Link |
---|---|
Latest commit | 941ef0ee45bb24e61e71b8fd6742faaaea9ce1e4 |
Could you please remove the update on the package.json
and lock file?
Can you also update the documentation to explain about your new option? https://supabase.nuxtjs.org/get-started#options (https://github.com/nuxt-modules/supabase/edit/main/docs/content/2.get-started.md)
Name | Edit | Preview | Latest Commit |
---|---|---|---|
supabase | Edit on Studio ↗︎ | View Live Preview | 941ef0ee45bb24e61e71b8fd6742faaaea9ce1e4 |
Requested changes have been made in https://github.com/nuxt-modules/supabase/pull/319/commits/941ef0ee45bb24e61e71b8fd6742faaaea9ce1e4
Types of changes
Description
This change adds a new configuration option:
serverUrl
. When set, it overrides theurl
option on the serverside only when using SSR.A problem can occur when using nuxt-supabase with SSR in a docker-compose environment. The browser will connect to supabase on the exposed port, e.g. localhost:8000 whereas the server side, running in docker will have to connect to e.g.
supabase:8000
This PR allows for setting a different supabase server URL on the browser side and on the server side.Checklist: