Skip to content

Latest commit

 

History

History

location

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

location

An example of how set the Location header using res.location() for a 301 redirect.

How to run this example

Run this example using:

deno run --allow-net --allow-read ./examples/location/index.ts

if have the repo cloned locally OR

deno run --allow-net --allow-read https://raw.githubusercontent.com/asos-craigmorten/opine/main/examples/location/index.ts

if you don't!