Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I am on Shopify CLI version: 3.49.1
I am unable to load fonts selected on the theme settings because they are routing to the local host instead of the Shopify cdn is there a way of changing this or fixing it? It is super annoying as I cannot see the correct style of my page while development and I have to rely on refreshing the theme customization page.. It works perfectly on the server or deployed themes.
http://127.0.0.1:9292/cdn/fonts/futura/futura_n5.5632c6d8a6da9141ef40e51d14264a007bcae7e5.woff2?h1=Y...0aC5jb20&h2=YmVhdXR5LWJ5LWVhcnRoLW5hdHVyYWwtYmVhdXR5LmFjY291bnQubXlzaG9waWZ5LmNvbQ&h3=YWNjb3VudC5iZWF1dHlieWVhcnRoLmNvbQ&hmac=d16f5b5ced5dd590acbd9d05a826dfd9994fd9fbfcef4fe6b3c9ba8db41c08c2
same problem
found any solution yet?
me too facing the same issue
Adding json filter worked for me. Somehow, it changes localhost address to the live one
@font-face {
font-display: swap;
font-family: 'Some font';
font-style: normal;
font-weight: 400;
src: url({{- 'some-font-file.woff2' | asset_url | json -}}) format('woff2');
}
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024