@autumnsgrove/groveengine 0.4.9 → 0.4.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/utils/api.js +1 -0
- package/package.json +1 -1
package/dist/utils/api.js
CHANGED
|
@@ -24,6 +24,7 @@ export async function apiRequest(url, options = {}) {
|
|
|
24
24
|
// Build headers - don't set Content-Type for FormData (browser sets it with boundary)
|
|
25
25
|
const headers = {
|
|
26
26
|
...(csrfToken && { "X-CSRF-Token": csrfToken }),
|
|
27
|
+
...(csrfToken && { "csrf-token": csrfToken }), // fallback header
|
|
27
28
|
...options.headers,
|
|
28
29
|
};
|
|
29
30
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@autumnsgrove/groveengine",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.10",
|
|
4
4
|
"description": "Multi-tenant blog engine for Grove Platform. Features gutter annotations, markdown editing, magic code auth, and Cloudflare Workers deployment.",
|
|
5
5
|
"author": "AutumnsGrove",
|
|
6
6
|
"license": "MIT",
|