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) {