Sharp and Promise.all in route handler #3674
-
I am trying to create multiple sizes of a post featured image. Originally I broke it up to smaller functions but for this issue it's simpler this way. Inside a route handler:
It creates the files correctly but for some reason the redirect wont work. Instead I am redirected back to the edit page (like if I used I am probably missing something about Promises, am I? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
You mean no redirect happens at all? Do you see any error on the page or something? |
Beta Was this translation helpful? Give feedback.
You mean no redirect happens at all? Do you see any error on the page or something?