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.
2 parents 6774970 + c7cecaa commit ecf1959Copy full SHA for ecf1959
jupyter_server/extension/application.py
@@ -1,7 +1,6 @@
1
import sys
2
import re
3
import logging
4
-from urllib.parse import urljoin
5
6
from jinja2 import Environment, FileSystemLoader
7
@@ -197,7 +196,7 @@ def _default_static_url_prefix(self):
197
196
static_url = "static/{name}/".format(
198
name=self.name
199
)
200
- return urljoin(self.serverapp.base_url, static_url)
+ return url_path_join(self.serverapp.base_url, static_url)
201
202
static_paths = List(Unicode(),
203
help="""paths to search for serving static files.
jupyter_server/extension/handler.py
@@ -1,4 +1,3 @@
from jupyter_server.base.handlers import FileFindHandler
from jinja2.exceptions import TemplateNotFound
0 commit comments