File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -41,20 +41,23 @@ const isAlwaysTrustedForFetching = parsed => (
4141
4242 // Any TurboWarp service such as trampoline
4343 parsed . origin === 'https://turbowarp.org' ||
44- / \. t u r b o w a r p \. o r g $ / . test ( parsed . origin ) ||
45- / \. t u r b o w a r p \. x y z $ / . test ( parsed . origin ) ||
44+ parsed . origin . endsWith ( '.turbowarp.org' ) ||
45+ parsed . origin . endsWith ( '.turbowarp.xyz' ) ||
4646
4747 // GitHub
4848 parsed . origin === 'https://raw.githubusercontent.com' ||
4949 parsed . origin === 'https://api.github.com' ||
50- / \. g i t h u b \. i o $ / . test ( parsed . origin ) ||
50+ parsed . origin . endsWith ( '.github.io' ) ||
5151
5252 // GitLab
5353 parsed . origin === 'https://gitlab.com' ||
54- / \. g i t l a b \. i o $ / . test ( parsed . origin ) ||
54+ parsed . origin . endsWith ( '.gitlab.io' ) ||
55+
56+ // BitBucket
57+ parsed . origin . endsWith ( '.bitbucket.io' ) ||
5558
5659 // Itch
57- / \. i t c h \ .i o $ / ||
60+ parsed . origin . endsWith ( '. itch.io' ) ||
5861
5962 // GameJolt
6063 parsed . origin === 'https://api.gamejolt.com' ||
You can’t perform that action at this time.
0 commit comments