.env.example and docs omit env vars the app reads

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

维护者通常 1 天内回复

@alexander22-dev 已经在做这个了。

开始于 2026年11月21日。

评估

这个 Issue 还没有评估数据。

描述

difficulty: beginner documentation dx good first issue help wanted Stellar Wave

Difficulty: Beginner

Description

web/lib/config.ts reads NEXT_PUBLIC_HORIZON_URL and NEXT_PUBLIC_TOKEN_ISSUER. Neither is in web/.env.example, and the README does not mention them. The trustline flow breaks if you point the app at a different deployment without setting them.

Why it matters

Contributors and deployers running against their own contract or token will hit confusing failures.

Implementation suggestions

Add both vars to .env.example with comments. Add a short env-var table to web/README.md covering which vars are public, which are server-only, and the defaults.

Acceptance criteria

  • Every process.env.* used in web/ appears in .env.example and in the table.

Dependencies / related

Related to #31.

主要语言
TypeScript
星标
0
派生
4
平均合并
54 分钟
30 天内合并 PR
6

环境准备

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

从这里开始

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

Yormee-103/PayLoop 的其他 Issue

查看 Yormee-103/PayLoop 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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