Hi,
In the docs it is mentioned that by setting spawner.redirect_to_server = False we can redirect to arbitrary path like /services/service1 but when I do this in pre_spawner_hook it redirects the user to /user/username/services/service1
it still adds the URL to /user/username
Spawner.default_url is relative to the user’s server. If you want to set the default path after login in to JupyterHub you can use JupyterHub.default_url instead.