File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
starter/turborepo-with-hono/apps Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -26,3 +26,4 @@ lerna-debug.log*
26
26
27
27
# misc
28
28
.DS_Store
29
+ .vercel
Original file line number Diff line number Diff line change @@ -12,14 +12,16 @@ const ThemeImage = (props: Props) => {
12
12
13
13
return (
14
14
< >
15
- < Image { ...rest } src = { srcLight } className = "imgLight" />
16
- < Image { ...rest } src = { srcDark } className = "imgDark" />
15
+ < Image { ...rest } src = { srcLight } className = "imgLight" alt = "" />
16
+ < Image { ...rest } src = { srcDark } className = "imgDark" alt = "" />
17
17
</ >
18
18
)
19
19
}
20
20
21
21
export default async function Home ( ) {
22
- const result = await fetch ( 'http://localhost:3000' ) . then ( ( res ) => res . text ( ) )
22
+ const result = await fetch (
23
+ process . env . VERCEL ? 'TODO' : 'http://localhost:3000'
24
+ ) . then ( ( res ) => res . text ( ) )
23
25
24
26
return (
25
27
< div className = { styles . page } >
@@ -40,7 +42,7 @@ export default async function Home() {
40
42
< li > Save and see your changes instantly.</ li >
41
43
</ ol >
42
44
43
- < div > { result } </ div >
45
+ < div > { result ?? 'Hello from the Hono API!' } </ div >
44
46
45
47
< div className = { styles . ctas } >
46
48
< a
You can’t perform that action at this time.
0 commit comments