fix(rdesign): add publicWrite flag to unblock POST requests

The write-method middleware was returning 403 for POST /api/design-agent
because the module lacked publicWrite: true.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-03-24 10:36:14 -07:00
parent e0e76446db
commit aec42ef976
1 changed files with 1 additions and 0 deletions

View File

@ -302,6 +302,7 @@ export const designModule: RSpaceModule = {
icon: "\u{1f3af}", icon: "\u{1f3af}",
description: "AI-powered DTP workspace — text in, design out", description: "AI-powered DTP workspace — text in, design out",
scoping: { defaultScope: 'global', userConfigurable: false }, scoping: { defaultScope: 'global', userConfigurable: false },
publicWrite: true,
routes, routes,
landingPage: renderDesignLanding, landingPage: renderDesignLanding,
feeds: [ feeds: [