summaryrefslogtreecommitdiff
path: root/content/docs/configuration/headers.md
blob: 2b8f82c2cb425d09a03f443a666052f236159b17 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
title: 'Headers'
weight: 9
---

The `headers` config option allows you to specify the custom HTTP headers sent with each request.

```javascript {filename="Configuration"}
export const config = {
  headers: {
    "Authorization": "Bearer ey....",
    "User-Agent": "Mozilla/5.0 (Macintosh ...",
  },
  // ...
};
```