mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 04:47:27 +00:00
feat: allow preview netlify url with cors
This commit is contained in:
parent
00ae29f2ac
commit
0b459cbcab
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