[PR #1278] [MERGED] api: dynamic env reloading from path/url #1368

Closed
opened 2025-11-09 10:11:35 -06:00 by GiteaMirror · 0 comments
Owner

📋 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: developHead: file-env


📝 Commits (4)

  • 06ee65b api/api-keys: watch for file changes instead of polling
  • e76ccd1 api: move env loading into separate file
  • ba2d266 api: dynamic env reloading from path/url
  • c392864 api/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.

## 📋 Pull Request Information **Original PR:** https://github.com/imputnet/cobalt/pull/1278 **Author:** [@dumbmoron](https://github.com/dumbmoron) **Created:** 5/24/2025 **Status:** ✅ Merged **Merged:** 5/25/2025 **Merged by:** [@github-actions[bot]](https://github.com/apps/github-actions) **Base:** `develop` ← **Head:** `file-env` --- ### 📝 Commits (4) - [`06ee65b`](https://github.com/imputnet/cobalt/commit/06ee65b55debd14835c05315994ca3f517256f2d) api/api-keys: watch for file changes instead of polling - [`e76ccd1`](https://github.com/imputnet/cobalt/commit/e76ccd194186749b27c93f36a1c78283031dd7d8) api: move env loading into separate file - [`ba2d266`](https://github.com/imputnet/cobalt/commit/ba2d266de79ad52d2e32f8f32b5ff7ad0dd4e3ad) api: dynamic env reloading from path/url - [`c392864`](https://github.com/imputnet/cobalt/commit/c392864c823439295529add54c388d2a5b0b0709) api/env: unquote variables if needed ### 📊 Changes **7 files changed** (+305 additions, -130 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-09 10:11:35 -06:00
Sign in to join this conversation.