mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 12:57:28 +00:00
feat: allow preview netlify url with cors
This commit is contained in:
parent
e7e2b598be
commit
7aac59c346
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ const corsConfig: CorsConfig = {
|
|||
return true
|
||||
}
|
||||
|
||||
if (origin.includes('leaguestats.gg')) {
|
||||
if (origin.includes('leaguestats.gg') || origin.includes('leaguestats-gg.netlify.app')) {
|
||||
return true
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue