Hi there, first thanks for the quick support and r...
# docker
b
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:
Copy code
Access to font at '<https://s3.eu-central-1.amazonaws.com/spryker/fonts/circular-pro/lineto-circular-pro-medium.woff2>' from origin '<http://de.ecommerce.local>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Anyone have the same issue and can help here?
h
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.
I assume it will be fixed in the next release so demo-shops will not use remote assets.
b
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
Copy code
src/Pyz/Yves/ShopUi/Theme/default/styles/basics/_typography.scss
h
Yep - that is the only solution
Copy code
$font-calibre-url: '../fonts/';
$font-circular-url: '../fonts/';
👍 1
b
ok thanks for your support 🙂