[Bun] Backend route aren't available using bun example

未关闭
#1,571 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
活跃
技术栈
bun
领域
backend

调研方向

首先复现链接中的 framework-boilerplates/bun 示例部署,并请求 /health 路由。将示例的路由设置与 Vercel Bun runtime 文档进行比较,包括缺失的 Bun framework preset。完成标准是:已部署的 Bun 服务器公开其文档中说明的后端路由,包括 /health。

由索引模型根据 Issue 内容生成。

描述

Hi there,

I tried to deploy this bun code example: https://github.com/vercel/examples/tree/main/framework-boilerplates/bun

The deployement works fine, but Vercel doesn't expose the Bun server routes. I tried to GET /health

Here is the configuration:

Image

and here the deployed app : https://bun-vercel-ebon.vercel.app/

Image

I haven't found a solution on the documentation to solve that.

note: the bun preset framework isn't available in the dropdown, but the documentation mention that: https://vercel.com/docs/functions/runtimes/bun

Thanks team for your help ;)
See you

主要语言
TypeScript
星标
5.2k
派生
1.9k
平均合并
1 小时 4 分钟
30 天内合并 PR
2

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

vercel/examples 的其他 Issue

查看 vercel/examples 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。