Skip to content

Update examples at headers documentation#30502

Merged
kodiakhq[bot] merged 1 commit intovercel:canaryfrom
lucasvazq:patch-1
Oct 28, 2021
Merged

Update examples at headers documentation#30502
kodiakhq[bot] merged 1 commit intovercel:canaryfrom
lucasvazq:patch-1

Conversation

@lucasvazq
Copy link
Copy Markdown
Contributor

Several examples at https://nextjs.org/docs/api-reference/next.config.js/headers have a comma at the end of the returns, which makes them invalid examples.

Remove trailing comma from returns
Copy link
Copy Markdown
Member

@ijjk ijjk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks for the PR!

@kodiakhq kodiakhq Bot merged commit 7902616 into vercel:canary Oct 28, 2021
@vercel vercel locked as resolved and limited conversation to collaborators Jan 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants