Kaynağa Gözat

dont open in browser

Saul Shanabrook 4 yıl önce
ebeveyn
işleme
757a1c3a38
1 değiştirilmiş dosya ile 2 ekleme ve 3 silme
  1. 2 3
      .gitpod.yml

+ 2 - 3
.gitpod.yml

@@ -19,7 +19,8 @@ github:
 tasks:
   - init: pip3 install -e . && yarn install && yarn run build
     # for some reason,have to re-install on start, or else it doesn't find the python package
-    # Set no token and allow any origin, so that you can open it in a new tab.
+    # Set no token and allow any origin, so that you can open it in a new tab
+    # Disable iframe security so can load in the editor as well
     command: >
       pip3 install -e . &&
       jupyter lab
@@ -30,5 +31,3 @@ tasks:
       --LabApp.tornado_settings='{"headers": {"Content-Security-Policy": "frame-ancestors *"}}'
 ports:
   - port: 8888
-    # Running it in an iframe doesn't work. Can experiment with iframe ancestors.     
-    onOpen: open-browser