feat: allow preview netlify url with cors

This commit is contained in:
Valentin Kaelin 2023-09-20 22:32:02 +02:00
parent e7e2b598be
commit 7aac59c346

View file

@ -49,7 +49,7 @@ const corsConfig: CorsConfig = {
return true return true
} }
if (origin.includes('leaguestats.gg')) { if (origin.includes('leaguestats.gg') || origin.includes('leaguestats-gg.netlify.app')) {
return true return true
} }