Skip to content

CORSMiddleware with optional callback #2573

Closed Answered by Kludex
Jontpan asked this question in Ideas
Discussion options

You must be logged in to vote

You can subclass CORSMiddleware, and overwrite the is_allowed_origin method.

Replies: 1 comment 2 replies

Comment options

Kludex
Apr 15, 2024
Maintainer Sponsor

You must be logged in to vote
2 replies
@Jontpan
Comment options

@Kludex
Comment options

Kludex Apr 15, 2024
Maintainer Sponsor

Answer selected by Kludex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants