Skip to content

Allow multiple trusted CORS hosts instead of only one#95

Open
iekilinc wants to merge 13 commits intoKamWithK:masterfrom
iekilinc:multiple-cors-hosts
Open

Allow multiple trusted CORS hosts instead of only one#95
iekilinc wants to merge 13 commits intoKamWithK:masterfrom
iekilinc:multiple-cors-hosts

Conversation

@iekilinc
Copy link

@iekilinc iekilinc commented Jan 8, 2026

Currently, the user can only have one trusted host. My use case is that I want to add, for example, Mokuro Reader, asbplayer, and Mangatan to the CORS hosts instead of only one of them. Right now, the user is forced to either enable all with "*", which is insecure, or they're forced to switch between https://app.mokuro.reader, https://app.asbplayer.dev, and http://wherever-theyre-hosting-mangatan:4568, which is quite inconvenient.

Also, the example text that should show up for the CORS setting was not being displayed due to a mismatch of strings, so that's also fixed.

Copy link
Owner

@KamWithK KamWithK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was on the edge about whether we need this but I've decided it has its uses

@iekilinc iekilinc requested a review from KamWithK March 1, 2026 19:58
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.

3 participants