Skip to content

Commit 98cca81

Browse files
authored
Update extension-library.jsx
1 parent 16c09e5 commit 98cca81

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/containers/extension-library.jsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,11 @@ class ExtensionLibrary extends React.PureComponent {
8989
return;
9090
}
9191

92-
const extensionId = e.data.loadExt;
92+
let extensionId = e.data.loadExt;
93+
console.log(extensionId);
94+
/*
95+
if (extensionId.includes("penguinmod.site") extensionId = extensionId.replace("penguinmod.site", "penguinmod.com")
96+
*/
9397
if (typeof extensionId !== 'string') {
9498
e.source.postMessage({
9599
p4: {
@@ -219,4 +223,4 @@ ExtensionLibrary.propTypes = {
219223
vm: PropTypes.instanceOf(VM).isRequired // eslint-disable-line react/no-unused-prop-types
220224
};
221225

222-
export default injectIntl(ExtensionLibrary);
226+
export default injectIntl(ExtensionLibrary);

0 commit comments

Comments
 (0)