File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ export const signInGithub: Action<
9999 Promise < string >
100100> = ( { effects } , options ) => {
101101 const authPath =
102- process . env . LOCAL_SERVER || 'STAGING_BRANCH' in process . env
102+ process . env . LOCAL_SERVER || process . env . STAGING
103103 ? '/auth/dev'
104104 : `/auth/github${ options . useExtraScopes ? '?scope=user:email,repo' : '' } ` ;
105105
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ const RoutesComponent: React.FC = () => {
112112 < Route path = "/patron" component = { Patron } />
113113 < Route path = "/cli/login" component = { CLI } />
114114 < Route path = "/auth/zeit" component = { ZeitSignIn } />
115- { ( process . env . LOCAL_SERVER || 'STAGING_BRANCH' in process . env ) && (
115+ { ( process . env . LOCAL_SERVER || process . env . STAGING ) && (
116116 < Route path = "/auth/dev" component = { DevAuthPage } />
117117 ) }
118118 { process . env . NODE_ENV === `development` && (
You can’t perform that action at this time.
0 commit comments