Skip to content

Commit 7d5e2c7

Browse files
committed
Prevent github sandboxes from getting splitted
1 parent 18ff96d commit 7d5e2c7

File tree

1 file changed

+1
-1
lines changed
  • packages/app/src/app/pages/Sandbox

1 file changed

+1
-1
lines changed

packages/app/src/app/pages/Sandbox/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class SandboxPage extends React.Component {
5151
// shortid and get the data with that. This solves the problem with urls becoming
5252
// invalid after giving a sandbox a new title.
5353
const split = id.split('-');
54-
if (split.length > 1) {
54+
if (!id.startsWith('github') && split.length > 1) {
5555
id = split.pop();
5656
}
5757

0 commit comments

Comments
 (0)