ad api url
This commit is contained in:
parent
e7820e8e11
commit
b7761ef51d
@ -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) {
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user