Add new domain name to CORS rules

This commit is contained in:
Valentin Kaelin 2019-09-06 18:15:18 +02:00
parent 932a8e568e
commit 531587566f

View file

@ -14,7 +14,8 @@ app.use(cors({
origin: [ origin: [
'http://localhost:8080', 'http://localhost:8080',
'https://leaguestats-gg.netlify.com', 'https://leaguestats-gg.netlify.com',
'https://leaguestats.valentinkaelin.ch/' 'https://leaguestats.valentinkaelin.ch/',
'https://leaguestats.gg'
] ]
})) }))