Skip to content

Feat : support csp domain management via cli#21

Merged
Jhvictor4 merged 1 commit intomainfrom
support-csp-mgmt
Nov 10, 2025
Merged

Feat : support csp domain management via cli#21
Jhvictor4 merged 1 commit intomainfrom
support-csp-mgmt

Conversation

@Jhvictor4
Copy link
Copy Markdown
Contributor

Handling #20 , I also discovered that users may want to configure media servers or API servers with which widgets want to interact. While this may be handled directly editing WidgetMCPServer on server/main.py, configuring multiple sources may be simplified with CLI command.

fastapps csp add --url <domain-to-add> --type <resource|connect>

this would automatically configure csp domains to allow.
to demonstrate this command's functionality, I updated init command to include public r2 bucket that includes sample image list.

@Jhvictor4 Jhvictor4 merged commit 0742692 into main Nov 10, 2025
11 checks passed
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