-
Notifications
You must be signed in to change notification settings - Fork 615
PRO-8571: fix the astro section template library bug introduced in astro 4.9.0 #5140
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
Conversation
| 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 |
There was a problem hiding this comment.
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
modules/@apostrophecms/area/index.js
Outdated
| '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' |
There was a problem hiding this comment.
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?
| 'content-type': 'application-json' | |
| 'content-type': 'application/json' |
|
Fixed that nasty typo, thank you! |
No description provided.