[PR #133] [CLOSED] fix: update environment variable names and enhance setup configuration retrieval #172

Closed
opened 2026-02-16 10:16:20 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/webapp-conversation/pull/133
Author: @fujita-h
Created: 1/19/2025
Status: Closed

Base: mainHead: fix-public-env


📝 Commits (1)

  • b1d1679 fix: update environment variable names and enhance setup configuration retrieval

📊 Changes

6 files changed (+45 additions, -22 deletions)

View changed files

📝 .env.example (+3 -3)
📝 README.md (+3 -3)
app/api/setup-config/route.ts (+10 -0)
📝 app/components/index.tsx (+22 -13)
📝 config/index.ts (+3 -3)
📝 service/index.ts (+4 -0)

📄 Description

Fix #132

Additionally, since we've removed all NEXT_PUBLIC_, you don't need to re-build when you change the settings. Instead, you need to put .env.local in your environment or add the environment variables to your environment.

This change will be BREAKING for many users, but is necessary for security reasons.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/webapp-conversation/pull/133 **Author:** [@fujita-h](https://github.com/fujita-h) **Created:** 1/19/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix-public-env` --- ### 📝 Commits (1) - [`b1d1679`](https://github.com/langgenius/webapp-conversation/commit/b1d16791373bc850b588d4750c44fa1423302703) fix: update environment variable names and enhance setup configuration retrieval ### 📊 Changes **6 files changed** (+45 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+3 -3) 📝 `README.md` (+3 -3) ➕ `app/api/setup-config/route.ts` (+10 -0) 📝 `app/components/index.tsx` (+22 -13) 📝 `config/index.ts` (+3 -3) 📝 `service/index.ts` (+4 -0) </details> ### 📄 Description Fix #132 Additionally, since we've removed all `NEXT_PUBLIC_`, you don't need to re-build when you change the settings. Instead, you need to put `.env.local` in your environment or add the environment variables to your environment. This change will be **BREAKING** for many users, but is necessary for security reasons. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 10:16:20 -05:00
yindo closed this issue 2026-02-16 10:16:20 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/webapp-conversation#172