mirror of
https://github.com/langgenius/webapp-conversation.git
synced 2026-07-21 17:05:24 -04:00
[PR #133] [CLOSED] fix: update environment variable names and enhance setup configuration retrieval #172
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/webapp-conversation/pull/133
Author: @fujita-h
Created: 1/19/2025
Status: ❌ Closed
Base:
main← Head:fix-public-env📝 Commits (1)
b1d1679fix: 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.localin 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.