Closed joshmeads closed 2 years ago
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.
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.jsYou'll otherwise get the following error: