bun-plugin-stx 0.2.137 → 0.2.138
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/serve.js +2 -2
- package/package.json +1 -1
package/dist/serve.js
CHANGED
|
@@ -9761,8 +9761,8 @@ ${output}`;
|
|
|
9761
9761
|
await discoverFiles();
|
|
9762
9762
|
const corsHeaders = {
|
|
9763
9763
|
"Access-Control-Allow-Origin": "*",
|
|
9764
|
-
"Access-Control-Allow-Methods": "GET, POST, OPTIONS",
|
|
9765
|
-
"Access-Control-Allow-Headers": "Content-Type"
|
|
9764
|
+
"Access-Control-Allow-Methods": "GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS",
|
|
9765
|
+
"Access-Control-Allow-Headers": "Content-Type, Authorization, X-CSRF-Token, X-Requested-With"
|
|
9766
9766
|
};
|
|
9767
9767
|
const siteConfig = options.site;
|
|
9768
9768
|
const siteStxPromise = siteConfig || options.i18n ? options.stxModule ? Promise.resolve(options.stxModule) : defaultStxModule : null;
|
package/package.json
CHANGED