feat: migrate project secrets and user-scoped colors

This commit is contained in:
Gabriel20xx committed 2026-09-15 13:23:17 +02:00
1 parent dcfdb3d7af
commit 0e450d53de
9 files changed
+263 -7

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ coreConfig.onUpdate((info) => authClient.setBaseUrl(info.authGuardUrl));
// in your own route for PUT /api/core-services/internal:
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 = coreConfig.set(req.body);