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 ca4cddf commit a7a65adCopy full SHA for a7a65ad
packages/app/src/app/pages/index.tsx
@@ -112,11 +112,11 @@ const RoutesComponent: React.FC = () => {
112
<Route path="/patron" component={Patron} />
113
<Route path="/cli/login" component={CLI} />
114
<Route path="/auth/zeit" component={ZeitSignIn} />
115
+ {(process.env.LOCAL_SERVER || 'STAGING_BRANCH' in process.env) && (
116
+ <Route path="/auth/dev" component={DevAuthPage} />
117
+ )}
118
{process.env.NODE_ENV === `development` && (
- <>
- <Route path="/auth/dev" component={DevAuthPage} />
- <Route path="/codesadbox" component={CodeSadbox} />
119
- </>
+ <Route path="/codesadbox" component={CodeSadbox} />
120
)}
121
<Route component={NotFound} />
122
</Switch>
0 commit comments