Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CLI --allow-origin (CORS) #343

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

davidbrochart
Copy link
Collaborator

No description provided.

@davidbrochart davidbrochart force-pushed the allow-origin branch 2 times, most recently from 3b7d120 to 7a964d7 Compare August 30, 2023 10:25
@davidbrochart davidbrochart merged commit 861ae2c into jupyter-server:main Aug 30, 2023
12 of 13 checks passed
@davidbrochart davidbrochart deleted the allow-origin branch August 30, 2023 11:18
open_browser: bool = False,
query_params: Dict[str, Any] | None = None,
debug: bool | None = None,
middlewares: Sequence[Callable[..., ASGI3Application] | dict[str, Any]] = (),
) -> None:
if allow_origin:

Choose a reason for hiding this comment

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

At this point, allow_origin is a string, not a tuple. Should it be cast to a tuple before configuring the middleware?

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.

2 participants