We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdceb62 commit 5931903Copy full SHA for 5931903
jupyter_server/serverapp.py
@@ -356,6 +356,10 @@ def init_settings(
356
357
# allow custom overrides for the tornado web app.
358
settings.update(settings_overrides)
359
+
360
+ if base_url and "xsrf_cookie_kwargs" not in settings:
361
+ # default: set xsrf cookie on base_url
362
+ settings["xsrf_cookie_kwargs"] = {"path": base_url}
363
return settings
364
365
def init_handlers(self, default_services, settings):
0 commit comments