From 4842a073773f0f59c1f71eb378733c1061c657a1 Mon Sep 17 00:00:00 2001 From: yulixing Date: Mon, 5 Aug 2019 13:29:40 +0800 Subject: [PATCH] https -> http --- src/controllers/open/games.js | 2 +- src/controllers/open/promotion.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/open/games.js b/src/controllers/open/games.js index 17f7367..e7dce9e 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 = ['https://promotion.kingsome.cn'] +const whitelist = ['http://promotion.kingsome.cn'] const corsOptions = { origin: function(origin, callback) { if (whitelist.indexOf(origin) !== -1) { diff --git a/src/controllers/open/promotion.js b/src/controllers/open/promotion.js index 98a8b10..030770b 100644 --- a/src/controllers/open/promotion.js +++ b/src/controllers/open/promotion.js @@ -7,7 +7,7 @@ import cors from 'cors' const router = new Router() -const whitelist = ['https://promotion.kingsome.cn'] +const whitelist = ['http://promotion.kingsome.cn'] const corsOptions = { origin: function(origin, callback) { if (whitelist.indexOf(origin) !== -1) {