https -> http

This commit is contained in:
yulixing 2019-08-05 13:29:40 +08:00
parent b7761ef51d
commit 4842a07377
2 changed files with 2 additions and 2 deletions

View File

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

View File

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