Skip to content

Conversation

@boutell
Copy link
Member

@boutell boutell commented Nov 5, 2025

No description provided.

@boutell boutell requested a review from haroun November 5, 2025 16:57
@linear
Copy link

linear bot commented Nov 5, 2025

headers: {
'apos-external-front-key': self.apos.externalFrontKey
'apos-external-front-key': self.apos.externalFrontKey,
// Without this Astro enforces CSRF protection starting in version 4.9.0
Copy link
Member Author

Choose a reason for hiding this comment

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

Of course it is always appropriate to specify a content type here so I'm not really blaming Astro but they started enforcing it recently

@boutell boutell requested a review from BoDonkey November 5, 2025 18:54
BoDonkey
BoDonkey previously approved these changes Nov 5, 2025
'apos-external-front-key': self.apos.externalFrontKey
'apos-external-front-key': self.apos.externalFrontKey,
// Without this Astro enforces CSRF protection starting in version 4.9.0
'content-type': 'application-json'
Copy link
Contributor

Choose a reason for hiding this comment

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

You mean this instead or I'm missing something?

Suggested change
'content-type': 'application-json'
'content-type': 'application/json'

@boutell
Copy link
Member Author

boutell commented Nov 6, 2025

Fixed that nasty typo, thank you!

@boutell boutell merged commit 8c91749 into main Nov 6, 2025
9 checks passed
@boutell boutell deleted the pro-8571 branch November 6, 2025 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants