Closed JudahGabriel closed 1 year ago
Redirect plugin accepts a string or function, allowing the redirect to use path params.
Usage:
redirect((context) => `/foo/${context.params.name}`);
Lgtm, would you mind updating the documentation with an example as well?
Certainly. One moment.
published under 0.9.8, thanks for the PR :)
0.9.8
Redirect plugin accepts a string or function, allowing the redirect to use path params.
Usage: