@flaghoist/server 0.2.0 → 0.2.2
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/dashboard.cjs +1 -1
- package/dist/dashboard.js +1 -1
- package/dist/index.cjs +0 -1
- package/dist/index.js +0 -1
- package/package.json +1 -1
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") {
|