Closed Barokai closed 1 year ago
Hey! Same issu here with the yarn seed command and I do confirm that your workaround works. Thanks @Barokai
Hello 👋 Thanks for this @Barokai. The issue will be fixed in the next merge. Also, for the public/uploads folder, it is in fact not working on Windows and we'll work on this!
Hi,
i just encountered that this line in https://github.com/strapi/foodadvisor/blob/master/api/script/seed.js#L100 (probably) causes the new variable ADMIN_JWT_SECRET to be appended in the same line as STRAPI_ADMIN_CLIENT_PREVIEW_SECRET which causes a non-working preview url.
tried it via unpublishing an article and then clicking the preview button, this was the response:
Adding a
&
beforeADMIN_JWT_SECRET
or completely removingADMIN_JWT_SECRET=
and its value from the url solved the problem.Furthermore, yarn seed seems to have problems on windows
My workaround was to copy the imagefiles from data.zip to public/uploads