What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hi there, first thanks for the quick support and response! Second, we have a issue with a local dock

UPF4FKAQ0
UPF4FKAQ0 Posts: 29 πŸ§‘πŸ»β€πŸš€ - Cadet

Hi there, first thanks for the quick support and response!
Second, we have a issue with a local docker setup for our developers we get a CORS error for fonts, when we using Yves:


Anyone have the same issue and can help here?

Comments

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    The solution to use local fonts or your own CDN. Because this <https://s3.eu-central-1.amazonaws.com/spryker> is for demo purposes only and works only with our demoshops.

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    I assume it will be fixed in the next release so demo-shops will not use remote assets.

  • UPF4FKAQ0
    UPF4FKAQ0 Posts: 29 πŸ§‘πŸ»β€πŸš€ - Cadet

    Ok, thanks for that, do you have a workaround for now how i can set the fonts local or is the only way to set it over $font-calibre-url: in src/Pyz/Yves/ShopUi/Theme/default/styles/basics/_typography.scss

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    Yep - that is the only solution


  • UPF4FKAQ0
    UPF4FKAQ0 Posts: 29 πŸ§‘πŸ»β€πŸš€ - Cadet

    ok thanks for your support πŸ™‚