mirror of
https://github.com/imputnet/cobalt.git
synced 2026-03-08 23:04:20 -05:00
[PR #1278] [MERGED] api: dynamic env reloading from path/url #1368
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/imputnet/cobalt/pull/1278
Author: @dumbmoron
Created: 5/24/2025
Status: ✅ Merged
Merged: 5/25/2025
Merged by: @github-actions[bot]
Base:
develop← Head:file-env📝 Commits (4)
06ee65bapi/api-keys: watch for file changes instead of pollinge76ccd1api: move env loading into separate fileba2d266api: dynamic env reloading from path/urlc392864api/env: unquote variables if needed📊 Changes
7 files changed (+305 additions, -130 deletions)
View changed files
📝
api/src/config.js(+14 -89)📝
api/src/core/api.js(+18 -18)➕
api/src/core/env.js(+189 -0)➕
api/src/misc/file-watcher.js(+43 -0)📝
api/src/misc/utils.js(+9 -0)📝
api/src/security/api-keys.js(+28 -23)📝
docs/api-env-variables.md(+4 -0)📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.