File tree Expand file tree Collapse file tree 3 files changed +832
-4568
lines changed
examples/minimal-expo/lib Expand file tree Collapse file tree 3 files changed +832
-4568
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ const resolveUrl = () => {
3434 "/api/trpc" ,
3535 typeof window . location !== "undefined"
3636 ? window . location . origin
37- : process . env . EXPO_PUBLIC_SERVER_ORIGIN ?? `http://${ debuggerHost } ` ,
37+ : ( process . env . EXPO_PUBLIC_SERVER_ORIGIN ?? `http://${ debuggerHost } ` ) ,
3838 ) ;
3939 } catch ( e ) {
4040 throw new Error (
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export const generateReactNativeHelpers = <TRouter extends FileRouter>(
3838 initOpts ?. url ?? "/api/uploadthing" ,
3939 typeof window . location !== "undefined"
4040 ? window . location . origin
41- : process . env . EXPO_PUBLIC_SERVER_ORIGIN ?? `http://${ debuggerHost } ` ,
41+ : ( process . env . EXPO_PUBLIC_SERVER_ORIGIN ?? `http://${ debuggerHost } ` ) ,
4242 ) ;
4343 } catch ( e ) {
4444 // Can't throw since window.location is undefined in Metro pass
You can’t perform that action at this time.
0 commit comments