Fix: Update authentication guide to use .ts files instead of .mjs#10275
Conversation
Updated the example in the authentication guide to use a `.ts` file instead of `.mjs`, aligning it with the official library's README. This change prevents potential errors when users follow the documentation.
✅ Deploy Preview for astro-docs-2 ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
|
Hello! Thank you for opening your first PR to Astro’s Docs! 🎉 Here’s what will happen next:
|
yanthomasdev
left a comment
There was a problem hiding this comment.
Thanks @Kevin2606, welcome to Team Docs!
Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com>
* i18n(fr): Update `guides/authentification.mdx` from #10275 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/cms/cloudcannon.mdx` from #10335 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/configuring-astro.mdx` from #9240 (v5) Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/data-fetching.mdx` from #9240 (v5) Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/deploy/google-cloud.mdx` from #10338 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `guides/deploy/vercel.mdx` from #10330 Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Update `reference/configuring-astro.mdx` about "Le fichier de configuration d'Astro" Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * Update src/content/docs/fr/guides/configuring-astro.mdx Co-authored-by: Armand Philippot <git@armand.philippot.eu> * Update src/content/docs/fr/guides/configuring-astro.mdx Co-authored-by: Armand Philippot <git@armand.philippot.eu> * Update src/content/docs/fr/guides/configuring-astro.mdx Co-authored-by: Armand Philippot <git@armand.philippot.eu> * Update src/content/docs/fr/guides/configuring-astro.mdx Co-authored-by: Armand Philippot <git@armand.philippot.eu> * Update src/content/docs/fr/guides/configuring-astro.mdx Co-authored-by: Armand Philippot <git@armand.philippot.eu> * Update src/content/docs/fr/guides/configuring-astro.mdx Co-authored-by: Armand Philippot <git@armand.philippot.eu> --------- Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> Co-authored-by: Armand Philippot <git@armand.philippot.eu>

Description (required)
Updated the authentication guide to use
.tsinstead of.mjsfor the configuration file. This aligns the documentation with the official library's README and prevents potential errors when users follow the guide.Related issues & labels (optional)
First-time contributor to Astro Docs?
Yes! 🎉
Discord: keenivg