Selaa lähdekoodia

fix integrity and workspaces url

Steven Silvester 4 vuotta sitten
vanhempi
commit
a21298382e
2 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 1 0
      .prettierignore
  2. 1 1
      jupyterlab/labapp.py

+ 1 - 0
.prettierignore

@@ -23,6 +23,7 @@ jupyterlab/staging/yarn.js
 jupyterlab/staging/index.js
 packages/ui-components/src/icon/iconimports.ts
 packages/extensionmanager/examples/listings
+tsconfigdoc.json
 
 # jetbrains IDE stuff
 .idea/

+ 1 - 1
jupyterlab/labapp.py

@@ -314,7 +314,7 @@ class LabWorkspaceImportApp(JupyterApp):
         base_url = '/'
         directory = app.workspaces_dir
         app_url = app.app_url
-        workspaces_url = app.workspaces_url
+        workspaces_url = ujoin(app.app_url, 'workspaces')
 
         if len(self.extra_args) != 1:
             print('One argument is required for workspace import.')