deno.land / x / opine@2.3.4 / examples / redirect
An example of how to redirect using res.redirect.
Run this example using:
deno run --allow-net --allow-read ./examples/redirect/index.tsif have the repo cloned locally OR
deno run --allow-net --allow-read https://raw.githubusercontent.com/cmorten/opine/main/examples/redirect/index.tsif you don't!
Version Info