Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

docs(data-fetching): fix and simplify cookie proxy example #5770

Merged
merged 3 commits into from Aug 15, 2022

Conversation

mod7ex
Copy link
Contributor

@mod7ex mod7ex commented Jul 7, 2022

cookies have this shape ==> Set-Cookie: <cookie-name>=<cookie-value>; Domain=<domain-value>; Secure;

πŸ”— Linked issue

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

cookies have this shape ==> `Set-Cookie: <cookie-name>=<cookie-value>; Domain=<domain-value>; Secure; `
@netlify
Copy link

netlify bot commented Jul 7, 2022

βœ… Deploy Preview for nuxt3-docs ready!

Name Link
πŸ”¨ Latest commit 2d2b1ca
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/62fa5d93abb2c7000856c265
😎 Deploy Preview https://deploy-preview-5770--nuxt3-docs.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@pi0 pi0 changed the title cookies value-keys have a '; ' separator docs: fix cookie parsing example in data-fetching Jul 7, 2022
@mod7ex mod7ex requested a review from pi0 July 7, 2022 18:06
Copy link
Member

@pi0 pi0 left a comment

Choose a reason for hiding this comment

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

Thanks for PR. I've finally decided to keep example simple using split only. for loop can be tweaked for more advanced usage such as filtering cookie by name to proxy.

@pi0 pi0 changed the title docs: fix cookie parsing example in data-fetching docs(data-fetching): fix and simplify cookie proxy example Aug 15, 2022
@pi0 pi0 merged commit e2745f6 into nuxt:main Aug 15, 2022
@pi0 pi0 mentioned this pull request Aug 26, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants