feat: migrate project secrets and user-scoped colors
Lint / Lint (push) Successful in 25s
Tests / Go backend (push) Successful in 34s
Tests / Dashboard checks (push) Successful in 48s
Docker / Docker Build & Push (push) Successful in 3m29s

This commit is contained in:
Gabriel20xx committed 2026-09-15 13:22:50 +02:00
1 parent f723afa369
commit 07e25a3cf3
13 files changed
+280 -15

No files matched your search

@@ -12,7 +12,7 @@
* Framework-agnostic: this module has no HTTP server of its own. A service
* wires the actual `PUT /api/core-services/internal` route in its own
* framework (Express, plain `http`, ...), gated behind its own
* INTERNAL_SERVICE_SECRET check the same way its other internal-service
* SECRET check the same way its other internal-service
* routes already are, decodes the JSON body with `Info.fromJSON`, and calls
* `store.set(info)` - see `Store.set`'s doc comment for a minimal Express
* example.
@@ -118,7 +118,7 @@ export class Store {
* the other value. Returns the resulting Info. Minimal Express usage:
*
* app.put('/api/core-services/internal', (req, res) => {
* if (req.get('X-Internal-Auth') !== process.env.INTERNAL_SERVICE_SECRET) {
* if (req.get('X-Internal-Auth') !== process.env.SECRET) {
* return res.status(401).json({ error: 'internal service authentication required' });
* }
* const info = coreConfigStore.set(Info.fromJSON(req.body));