File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
jupyter_remote_desktop_proxy Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change
1
+ import os
1
2
from pathlib import Path
2
3
3
4
from jupyter_server .base .handlers import AuthenticatedFileHandler
4
5
from jupyter_server .utils import url_path_join
5
6
from jupyter_server_proxy .handlers import AddSlashHandler
6
7
7
8
from .handlers import DesktopHandler
8
- import os
9
+
9
10
HERE = Path (__file__ ).parent
10
11
11
12
@@ -15,7 +16,9 @@ def load_jupyter_server_extension(server_app):
15
16
"""
16
17
base_url = server_app .web_app .settings ["base_url" ]
17
18
18
- jupyter_remote_desktop_endpoints = os .getenv ('JUPYTER_REMOTE_DESKTOP_ENDPOINTS' , 'desktopvnc' )
19
+ jupyter_remote_desktop_endpoints = os .getenv (
20
+ 'JUPYTER_REMOTE_DESKTOP_ENDPOINTS' , 'desktopvnc'
21
+ )
19
22
endpoints = jupyter_remote_desktop_endpoints .split (',' )
20
23
for endpoint in endpoints :
21
24
server_app .web_app .add_handlers (
Original file line number Diff line number Diff line change 13
13
Chrome Frame. -->
14
14
< meta http-equiv ="X-UA-Compatible " content ="IE=edge " />
15
15
16
- < link href ="{{ base_url }}desktopvnc/static/dist/index.css " rel ="stylesheet " />
16
+ < link
17
+ href ="{{ base_url }}desktopvnc/static/dist/index.css "
18
+ rel ="stylesheet "
19
+ />
17
20
</ head >
18
21
19
22
< body >
You can’t perform that action at this time.
0 commit comments