We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1a73b3 commit 4e131e2Copy full SHA for 4e131e2
components/dashboard/src/App.tsx
@@ -371,7 +371,7 @@ function App() {
371
toRender = <CreateWorkspace contextUrl={hash} />;
372
} else if (isWsStart) {
373
toRender = <StartWorkspace workspaceId={hash} />;
374
- } else if (/.+?\..+?\/.+?/i.test(window.location.pathname)) {
+ } else if (/^(github|gitlab)\.com\/.+?/i.test(window.location.pathname)) {
375
let url = new URL(window.location.href)
376
url.hash = url.pathname
377
url.pathname = '/'
0 commit comments