From d2666650deb8b0ec63b09946d89cdde01976e820 Mon Sep 17 00:00:00 2001 From: wobsoriano Date: Thu, 24 Nov 2022 12:57:29 -0800 Subject: [PATCH] update docs --- docs/content/1.get-started/3.tips/5.headers.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/content/1.get-started/3.tips/5.headers.md b/docs/content/1.get-started/3.tips/5.headers.md index 46b155e..f31f130 100644 --- a/docs/content/1.get-started/3.tips/5.headers.md +++ b/docs/content/1.get-started/3.tips/5.headers.md @@ -16,9 +16,8 @@ export default defineNuxtPlugin(() => { // headers need to be a function so it gets called dynamically // every HTTP request headers() { - return { - ...headers - } + // You can add more custom headers here + return headers } }), ],