From bb53f6530f5e515ab80c1e6f7597cef554f9582b Mon Sep 17 00:00:00 2001 From: Jaap Date: Thu, 19 Apr 2018 17:07:45 +0200 Subject: [PATCH] added cors extra URL for CORS --- www/routes/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/routes/index.js b/www/routes/index.js index 6076298..d26ae51 100644 --- a/www/routes/index.js +++ b/www/routes/index.js @@ -21,7 +21,7 @@ router.get('/demo/', function(req, res, next) { /* POST mailchimp */ router.post( '/subscribe', - cors({ origin: 'https://getstream.io/blog' }), + cors({ origin: ['https://getstream.io/blog', 'https://getstream.io/cabin'] }), function(req, res, next) { var params = req.body;