[object Object]

← back to Dw Pairs Well

CORS_ORIGIN: add wallco.ai (+ www variants, local dev) — wallco.ai design-detail page calls pairs.designerwallcoverings.com with ?palette=#hex,..., but allowlist only included designerwallcoverings.com so the browser blocked the response and the catch handler rendered 'Could not load coordinates right now.' / 'AI generator not ready.' for both panels

c7d0bfc57ad53b6e798bf5b6eac3ef3223c24b0d · 2026-05-13 12:43:42 -0700 · Steve Abrams

Files touched

Diff

commit c7d0bfc57ad53b6e798bf5b6eac3ef3223c24b0d
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Wed May 13 12:43:42 2026 -0700

    CORS_ORIGIN: add wallco.ai (+ www variants, local dev) — wallco.ai design-detail page calls pairs.designerwallcoverings.com with ?palette=#hex,..., but allowlist only included designerwallcoverings.com so the browser blocked the response and the catch handler rendered 'Could not load coordinates right now.' / 'AI generator not ready.' for both panels
---
 .env.example | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.env.example b/.env.example
index d1cac40..959d7e2 100644
--- a/.env.example
+++ b/.env.example
@@ -1,3 +1,3 @@
 DATABASE_URL=postgresql://dw_admin:DW2024SecurePass@127.0.0.1:15432/dw_unified
 PORT=9813
-CORS_ORIGIN=https://designerwallcoverings.com,https://designer-laboratory-sandbox.myshopify.com
+CORS_ORIGIN=https://designerwallcoverings.com,https://www.designerwallcoverings.com,https://designer-laboratory-sandbox.myshopify.com,https://wallco.ai,https://www.wallco.ai,http://127.0.0.1:9792,http://localhost:9792

← fb9ee05 preview.html: gate default DWRW-74991 init on window.__deepL  ·  back to Dw Pairs Well  ·  ai-coordinates: rebuild generator — 24 real seamless pattern 56de022 →