Skip to content

feat(api,ui): add admin endpoint to reload templates without restart#27

Merged
skylenet merged 1 commit intomasterfrom
template-reload
Mar 10, 2026
Merged

feat(api,ui): add admin endpoint to reload templates without restart#27
skylenet merged 1 commit intomasterfrom
template-reload

Conversation

@skylenet
Copy link
Member

Add POST /api/v1/templates/reload endpoint that re-reads the config file (picking up updated template files and re-fetching URLs), syncs refreshed templates to the database, and updates the in-memory config. Includes audit logging, mutex protection for concurrent config access, and a "Reload Templates" button in the UI Templates tab for admins.

Add POST /api/v1/templates/reload endpoint that re-reads the config file
(picking up updated template files and re-fetching URLs), syncs refreshed
templates to the database, and updates the in-memory config. Includes
audit logging, mutex protection for concurrent config access, and a
"Reload Templates" button in the UI Templates tab for admins.
@skylenet skylenet merged commit 463eefb into master Mar 10, 2026
4 checks passed
@skylenet skylenet deleted the template-reload branch March 10, 2026 10:45
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