@flaghoist/server 0.2.0 → 0.2.1

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/index.cjs CHANGED
@@ -579,7 +579,6 @@ function createFlagServer(config) {
579
579
  const origin = c.req.header("Origin");
580
580
  if (origin && cfg.allowedOrigins?.includes(origin)) {
581
581
  c.header("Access-Control-Allow-Origin", origin);
582
- c.header("Access-Control-Allow-Credentials", "true");
583
582
  c.header("Vary", "Origin");
584
583
  }
585
584
  if (c.req.method === "OPTIONS") {
package/dist/index.js CHANGED
@@ -549,7 +549,6 @@ function createFlagServer(config) {
549
549
  const origin = c.req.header("Origin");
550
550
  if (origin && cfg.allowedOrigins?.includes(origin)) {
551
551
  c.header("Access-Control-Allow-Origin", origin);
552
- c.header("Access-Control-Allow-Credentials", "true");
553
552
  c.header("Vary", "Origin");
554
553
  }
555
554
  if (c.req.method === "OPTIONS") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flaghoist/server",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Hono app factory for Flaghoist: OFREP evaluate, admin CRUD, and pluggable auth.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",