ad api url

This commit is contained in:
yulixing 2019-08-05 11:21:05 +08:00
parent e7820e8e11
commit b7761ef51d
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 = ['http://promotion.kingsome.cn']
const whitelist = ['https://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 = ['http://promotion.kingsome.cn']
const whitelist = ['https://promotion.kingsome.cn']
const corsOptions = {
origin: function(origin, callback) {
if (whitelist.indexOf(origin) !== -1) {