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 e7b8b5e commit ba4fdceCopy full SHA for ba4fdce
starter/turborepo-with-hono/apps/web/app/page.tsx
@@ -22,7 +22,9 @@ const API_URL = process.env.VERCEL
22
: 'http://localhost:3000'
23
24
export default async function Home() {
25
- const result = await fetch(API_URL).then((res) => res.text())
+ const result = await fetch(API_URL)
26
+ .then((res) => res.text())
27
+ .catch(() => 'Hello from Hono!')
28
29
return (
30
<div className={styles.page}>
starter/turborepo-with-hono/turbo.json
@@ -6,7 +6,7 @@
6
"env": ["VERCEL"],
7
"dependsOn": ["^build"],
8
"inputs": ["$TURBO_DEFAULT$", ".env*"],
9
- "outputs": [".next/**", "!.next/cache/**"]
+ "outputs": [".next/**", "!.next/cache/**", ".vercel/output/**"]
10
},
11
"lint": {
12
"dependsOn": ["^lint"]
0 commit comments