Giter Club home page Giter Club logo

Comments (3)

aniav avatar aniav commented on July 28, 2024

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.

Am I looking at the right places?

from saleor-docs.

c-nv-s avatar c-nv-s commented on July 28, 2024

you can use the github magnifying glass on your repo to search your organization's code:
https://github.com/saleor/saleor-dashboard/blob/9c5e786522259d1dae2c1aeaf98dc8e8f5bc87dd/testUtils/setup.ts#L24

from saleor-docs.

aniav avatar aniav commented on July 28, 2024

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.

The dashboard setup is in the repository in:
https://github.com/saleor/saleor-dashboard/blob/main/docs/configuration.md

from saleor-docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.