From 0f54d26bd573f325940640e0e2cdfaa305e55d1e Mon Sep 17 00:00:00 2001 From: yulixing Date: Thu, 19 Sep 2019 10:37:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=B7=A8=E5=9F=9F=E7=99=BD?= =?UTF-8?q?=E5=90=8D=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/open/games.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/open/games.js b/src/controllers/open/games.js index e7dce9e..88278f0 100644 --- a/src/controllers/open/games.js +++ b/src/controllers/open/games.js @@ -9,7 +9,7 @@ import {platform} from 'os' const router = new Router() -const whitelist = ['http://promotion.kingsome.cn'] +const whitelist = ['http://promotion.kingsome.cn', 'http://promotion-test.kingsome.cn'] const corsOptions = { origin: function(origin, callback) { if (whitelist.indexOf(origin) !== -1) {