Skip to content

Commit

Permalink
Include PR suggestions
Browse files Browse the repository at this point in the history
Co-authored-by: Min RK <151929+minrk@users.noreply.github.com>
  • Loading branch information
brichet and minrk committed Jan 17, 2025
1 parent a265d80 commit 5dc7aca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nbgrader/docs/source/configuration/jupyterhub_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,8 @@ Enabling JupyterHub subdomains

Enabling per-user and per-service subdomains with ``JupyterHub.enable_subdomains = True``
allows to securely use iframes with JupyterHub.
Then, even if embedding in an IFrame is allowed, the host page does not have access to the
contents of the frame.
With subdomains enabled, `frame-ancestors 'self'` allows embedding the iframe only on pages
served by the user's own server.

In this case, the ``"frame-ancestor 'self'"`` can be restored in the application:

Expand Down

0 comments on commit 5dc7aca

Please sign in to comment.