summaryrefslogtreecommitdiff
path: root/content/docs/configuration/headers.md
diff options
context:
space:
mode:
authorPhilipp Tanlak <philipp.tanlak@gmail.com>2025-11-24 20:54:57 +0100
committerPhilipp Tanlak <philipp.tanlak@gmail.com>2025-11-24 20:57:48 +0100
commitb1e2c8fd5cb5dfa46bc440a12eafaf56cd844b1c (patch)
tree49d360fd6cbc6a2754efe93524ac47ff0fbe0f7d /content/docs/configuration/headers.md
Docs
Diffstat (limited to 'content/docs/configuration/headers.md')
-rw-r--r--content/docs/configuration/headers.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/content/docs/configuration/headers.md b/content/docs/configuration/headers.md
new file mode 100644
index 0000000..2b8f82c
--- /dev/null
+++ b/content/docs/configuration/headers.md
@@ -0,0 +1,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 ...",
+ },
+ // ...
+};
+```
+