Skip to content

Commit ce2bbfd

Browse files
committed
Update sample URL to force navigation to TurboWarp
1 parent 05a275b commit ce2bbfd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/containers/extension-library.jsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const fetchLibrary = async () => {
7777
}),
7878
docsURI: extension.docs ? `https://extensions.turbowarp.org/${extension.slug}` : null,
7979
samples: extension.samples ? extension.samples.map(sample => ({
80-
href: `${process.env.ROOT}editor?project_url=https://extensions.turbowarp.org/samples/${encodeURIComponent(sample)}.sb3`,
80+
href: `https://turbowarp.org/editor?project_url=https://extensions.turbowarp.org/samples/${encodeURIComponent(sample)}.sb3`, //force to go to turbowarp as parent doesn't nessarily support ?project_url
8181
text: sample
8282
})) : null,
8383
incompatibleWithScratch: !extension.scratchCompatible,

0 commit comments

Comments
 (0)