Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion starter/turborepo-with-hono/apps/web/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ const API_URL = process.env.VERCEL
: 'http://localhost:3000'

export default async function Home() {
const result = await fetch(API_URL).then((res) => res.text())
const result = await fetch(API_URL)
.then((res) => res.text())
.catch(() => 'Hello from Hono!')

return (
<div className={styles.page}>
Expand Down
2 changes: 1 addition & 1 deletion starter/turborepo-with-hono/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"env": ["VERCEL"],
"dependsOn": ["^build"],
"inputs": ["$TURBO_DEFAULT$", ".env*"],
"outputs": [".next/**", "!.next/cache/**"]
"outputs": [".next/**", "!.next/cache/**", ".vercel/output/**"]
},
"lint": {
"dependsOn": ["^lint"]
Expand Down