fix: propagate settingsSchema

This commit is contained in:
Linus Rath
2026-05-06 01:48:49 +02:00
parent e68fcb4aec
commit 09302684da
5 changed files with 41 additions and 1 deletions
+3 -1
View File
@@ -43,7 +43,9 @@ export async function GET() {
dev: p.dev,
// Surface so clients can enforce api.http.fetch origin allowlists.
httpOrigins: p.httpOrigins,
settingsSchema: undefined, // Will be read from the bundle's manifest
// Per-user settings schema, captured from the manifest at upload/load
// time so the client can render the settings UI without re-parsing.
settingsSchema: p.settingsSchema,
}));
// Only serve enabled themes