Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update index.ts #6326

Merged
merged 1 commit into from
Jan 9, 2023
Merged

Update index.ts #6326

merged 1 commit into from
Jan 9, 2023

Conversation

nathanmedz
Copy link
Contributor

@nathanmedz nathanmedz commented Jan 8, 2023

Fix documentation mistake - page.server.ts -> layout.server.ts

☕️ Reasoning

Current documentation suggests adding to +page.server.ts which doesn't provide the desired functionality and is contradicted by the type hinting in the following code snippet. +layout.server.ts is the correct filename.

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

🎫 Affected issues

None

📌 Resources

Fix documentation mistake - page.server.ts -> layout.server.ts
@vercel
Copy link

vercel bot commented Jan 8, 2023

@nathanmedz is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Jan 8, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
auth-docs ❌ Failed (Inspect) Jan 8, 2023 at 6:17PM (UTC)

@balazsorban44 balazsorban44 merged commit 700daec into nextauthjs:main Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants