github / github/codespaces-nextjs
Build completely broken in codespaces now.
- 主要语言
- JavaScript
- 星标
- 152
- 派生
- 210
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hello,
I have a codespace build of nextjs, and vite from the codespaces templates
and neither of them work out of the box due to https issues. I'm not sure if the hosting domain for the port forwarded sites has changed, but using .dev means the browser is forced to connect using https and I am pretty sure that neither nextjs or vite are configured to use https which causes ssl issues.
If I load the codespace into my local vs code instance and start the vite/nextjs instance there I can connect just fine. So I imagine for these templates to work again either:
1) Don't serve these port forwarded instances from a .dev domain so developers can connect to them via http
2) Update these templates to work for a https connection and make that a default since .dev domains can only be connected to via https
### Simple Browser

### Normal Browser (see SSL error)

贡献指南
调研方向
首先在 Codespaces Next.js 和 Vite 模板中复现该问题,并检查它们的端口转发 URL 如何处理 HTTPS。完成的标准是两个模板都能从 Codespaces 启动,并且其转发的网站能够通过 HTTP 或使用正常工作的 HTTPS 配置加载,且不出现 SSL 错误。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- nextjs, vite
- 领域
- developer-experience, web-dev
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100