Closed wilbsy closed 3 years ago
/pages/api/preview.js line 22 is missing a closing curly bracket.
res.redirect(/${slug}?${params[1]) should be... res.redirect(/${slug}?${params[1]})
/${slug}?${params[1]
/${slug}?${params[1]}
I can submit a pull request if you'd like, since it's a super straightforward fix. Thanks!
Already fixed, thanks
/pages/api/preview.js line 22 is missing a closing curly bracket.
res.redirect(
/${slug}?${params[1]
) should be... res.redirect(/${slug}?${params[1]}
)I can submit a pull request if you'd like, since it's a super straightforward fix. Thanks!