Skip to content

fix(forge): use default API base URL instead of requiring env var - #150

Merged
Gaubee merged 1 commit into
mainfrom
fix/forge-api-default
Jan 4, 2026
Merged

Gaubee merged 1 commit into
mainfrom
fix/forge-api-default

Conversation

@Gaubee

@Gaubee Gaubee commented Jan 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Forge miniapp 启动时不再报错 VITE_COT_API_BASE_URL is not configured。

Changes

  • 使用 https://walletapi.bfmeta.info 作为默认 base URL(与其他 BioForest 服务一致)
  • 移除 ApiConfigError 类(不再需要)
  • 仍支持通过 VITE_COT_API_BASE_URL 环境变量覆盖

Testing

  • 48 unit tests pass
  • typecheck pass

- Use https://walletapi.bfmeta.info as default (same as other BioForest services)
- Remove ApiConfigError class (no longer needed)
- Still supports VITE_COT_API_BASE_URL override for flexibility
@Gaubee
Gaubee merged commit 9139c2d into main Jan 4, 2026
5 checks passed
@Gaubee
Gaubee deleted the fix/forge-api-default branch January 4, 2026 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant