Skip to content

Commit df64b5a

Browse files
committed
stop trusting .site
1 parent f3a60da commit df64b5a

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

src/containers/extension-library.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ const messages = defineMessages({
3434
// Only trust loading extension links from these origins.
3535
// For user-made libraries.
3636
const TRUSTED_LOADEXT_ORIGINS = [
37-
'https://studio.penguinmod.site', // for development
3837
'https://studio.penguinmod.com', // for development
3938
'https://extensions.penguinmod.com',
4039
'https://sharkpools-extensions.vercel.app',

src/containers/tw-security-manager.jsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ const manuallyTrustExtension = url => {
2323
const isTrustedExtension = url => (
2424
// Always trust our official extension repostiory.
2525
url.startsWith('https://extensions.turbowarp.org/') ||
26-
url.startsWith('https://extensions.penguinmod.site/') ||
2726
url.startsWith('https://extensions.penguinmod.com/') ||
2827
url.startsWith('https://penguinmod-extensions-gallery.vercel.app/') ||
2928

@@ -66,8 +65,6 @@ const isAlwaysTrustedForFetching = parsed => (
6665
parsed.origin.endsWith('.turbowarp.xyz') ||
6766

6867
// Any PenguinMod service such as projects
69-
parsed.origin === 'https://penguinmod.site' ||
70-
parsed.origin.endsWith('.penguinmod.site') ||
7168
parsed.origin === 'https://penguinmod.com' ||
7269
parsed.origin.endsWith('.penguinmod.com') ||
7370

src/lib/libraries/extensions/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ if (IsLocal || IsLiveTests) {
10501050
},
10511051
{
10521052
name: 'Test Extension Loader',
1053-
href: 'https://studio.penguinmod.site/loadExt.html',
1053+
href: 'https://studio.penguinmod.com/loadExt.html',
10541054
extensionId: 'special_testExtensionLibrary',
10551055
iconURL: defaultExtensionIcon,
10561056
description: 'Test loading extensions from a library. For developers.',

0 commit comments

Comments
 (0)