Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for Strapi 4.3.x #5

Closed
wants to merge 1 commit into from

Conversation

joshmeads
Copy link

Allows for the new structure of the dirs object. See https://github.com/strapi/strapi/blob/v4.3.0-beta.1/packages/core/strapi/lib/utils/get-dirs.js

You'll otherwise get the following error:

IPX Error (File not found (/app/apps/cms/undefined/uploads/thumbnail_logo_white_e635fa69dc.png))

@stafyniaksacha
Copy link
Member

Oh sorry, I did not see your PR before.

The strapi.dirs?.dist?.public path was introduced in the v4.3.0-beta.1 and changed to strapi.dirs?.static?.public after so we can remove it!

I'm closing the PR because I did it on v1.2.0
Thanks for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants