Skip to content

Commit 8c7af00

Browse files
Claudehotlong
andauthored
fix(app-host): set framework to null in vercel.json to disable automatic framework detection
Agent-Logs-Url: https://github.com/objectstack-ai/framework/sessions/27393574-eb43-4112-b970-668b8ea9e8d9 Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 398e7b7 commit 8c7af00

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

examples/app-host/api/[[...route]].js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,4 @@
1313
// @see ../server/index.ts — the actual server entrypoint
1414
// @see ../scripts/bundle-api.mjs — the esbuild bundler
1515

16-
// Import Hono to satisfy Vercel's framework detection (unused, but required for detection).
17-
import 'hono';
18-
1916
export { default, config } from './_handler.js';

examples/app-host/vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://openapi.vercel.sh/vercel.json",
3-
"framework": "hono",
3+
"framework": null,
44
"installCommand": "cd ../.. && pnpm install",
55
"buildCommand": "bash scripts/build-vercel.sh",
66
"functions": {

0 commit comments

Comments
 (0)