SSR + cloudfront OTS parsing error



  • Hello everyone

    I’m having a hard time hosting quasar app in AWS. Problem comes from icons - they are not loaded at all.

    So, I’m taking a “hello-world” from quasar, then creating a lambda behind Api Gateway proxy.
    At this point quasar starts failing with invalid urls to assets
    3b43n4qrna.execute-api.us-east-1.amazonaws.com/dev

    88eb680a-5af6-42d7-a794-16dfab08f3f7-image.png

    Then I’m adding a cloudfront for this api, and now everything loads fine, except fonts. Any ideas?

    http://dg4164i3iwwqo.cloudfront.net/
    ecb9c399-0445-4b10-8eea-f94dbc820466-image.png



  • Update: font files size is different - I downloaded one font file from deployed website, copied in dist folder with added “-prod” postfix

    -rw-rw-r-- 1 jamaica jamaica 110396 May 31 11:40 flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.12a47ed5-prod.woff2
    -rw-r–r-- 1 jamaica jamaica 60840 May 31 11:18 flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.12a47ed5.woff2


Log in to reply