You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @c-nv-s I just checked and the docs state that PUBLIC_URL:
Specifies the base URL at which Saleor is hosted, such as https://api.example.com/. This setting takes precedence over both ENABLE_SSL and Shop.domain (set using the GraphQL API) when generating URLs. Ensure to provide the complete URL, including the protocol: http:// or https://.
It doesn't say anything about the GraphQL API.
I also checked and search in the Saleor code doesn't have the APP_URL or API_URL env variables at all. app_url is used in apps but it has to be passed in the app manifest, so it seems like a different thing.
Ah I think this is where the confusion is happening. The docs mention PUBLIC_URL and it's a setting for the main Saleor repository https://github.com/saleor/saleor
There is no instruction for self-hosting saleor-dashboard in docs at that moment.
Whilst checking the documentation I noticed that it states that the environment variable
PUBLIC_URL
needs to be set as the location of where the saleor api is publicly reachable. https://docs.saleor.io/docs/3.x/setup/configuration#public_urlhowever that environment has no effect, and after a quick code search it appears the correct environment variable is
APP_URL
in fact, searching all the above environment variables in the docs turns up nothing.
The text was updated successfully, but these errors were encountered: