Explorar o código

allow any origin

Saul Shanabrook %!s(int64=4) %!d(string=hai) anos
pai
achega
cddc553007
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      .gitpod.yml

+ 3 - 1
.gitpod.yml

@@ -18,7 +18,9 @@ github:
     addLabel: false
 tasks:
   - init: pip3 install -e . && yarn install && yarn run build
-    command: pip3 install -e . && jupyter lab --dev-mode --watch --LabApp.token=''
+    command: pip3 install -e . && jupyter lab --dev-mode --watch --LabApp.token='' --LabApp.allow_origin=*
 ports:
   - port: 8888
     onOpen: open-browser
+
+# --LabApp.tornado_settings='{"headers": {"Content-Security-Policy": "frame-ancestors *"}}'