Skip to content

Commit 73ae3a5

Browse files
author
Ives van Hoorne
committed
Make /s/ the default path for the editor
1 parent 65ecd92 commit 73ae3a5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/app/public/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"type": "image/png"
1010
}
1111
],
12-
"start_url": "/s/new?utm_source=homescreen",
12+
"start_url": "/s/?utm_source=homescreen",
1313
"display": "standalone",
1414
"theme_color": "#6CAEDD",
1515
"background_color": "#1C2022"

packages/app/scripts/start.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ function setupCompiler(port, protocol) {
141141
}
142142

143143
function openBrowser(port, protocol) {
144-
const url = protocol + '://localhost:' + port + '/s/new';
144+
const url = protocol + '://localhost:' + port + '/s';
145145
if (process.platform === 'darwin') {
146146
try {
147147
// Try our best to reuse existing tab

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class Routes extends React.Component<Props> {
9999
<Notifications />
100100
<Content>
101101
<Switch>
102-
<Route exact path="/" render={() => <Redirect to="/s/new" />} />
102+
<Route exact path="/" render={() => <Redirect to="/s" />} />
103103
<Route exact path="/s/github" component={GitHub} />
104104
<Route exact path="/s/cli" component={CliInstructions} />
105105
<Route exact path="/s" component={NewSandbox} />

0 commit comments

Comments
 (0)