# 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:

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

if have the repo cloned locally _OR_

```bash
deno run --allow-net --allow-read https://raw.githubusercontent.com/cmorten/opine/main/examples/location/index.ts
```

if you don't!
