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..

I added an asset (png) to `frontend/static/images` but am not able to access it in the frontend via

U024MCVAC11
U024MCVAC11 Posts: 8 🧑🏻‍🚀 - Cadet

I added an asset (png) to frontend/static/images but am not able to access it in the frontend via http://yves.de.spryker.local/assets/static/images/34514543.png where the other images in this directory can be accessed. I already tried docker/sdk console sync:data and docker/sdk console cache:empty-all but still are unable to see my asset. Can anyone help me please?

Comments

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Please check spryker.local (if defined in services in the deploy file) for yves, zed\backoffice and other logs\exceptions.

  • U024MCVAC11
    U024MCVAC11 Posts: 8 🧑🏻‍🚀 - Cadet
    [proxy] [gateway] - 172.21.0.1 - - [18/Jan/2022:14:58:35 +0000] "GET /assets/static/34514543.png HTTP/1.1" 404 530 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36" "-"
    
  • U024MCVAC11
    U024MCVAC11 Posts: 8 🧑🏻‍🚀 - Cadet

    Do I need to register / whitelist the static assets somewhere?

  • U02UR8WNS9W
    U02UR8WNS9W Posts: 14 🧑🏻‍🚀 - Cadet

    Try following command docker/sdk build assets