Skip to content

Commit 8f938ee

Browse files
Fix extension loading (again)
1 parent 6591e7c commit 8f938ee

2 files changed

Lines changed: 14 additions & 6 deletions

File tree

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@
5050
5151
"additionalBuiltinExtensions": [
5252
{
53-
"scheme": "relative",
54-
"path": "/fs/apps/system/Visual Studio Code.tapp/myExt"
53+
"scheme": "${location.protocol.slice(0,-1)}",
54+
"path": "${location.pathname.split("/").slice(0,-1).join("/")}/myExt"
5555
},
5656
{
57-
"scheme": "relative",
58-
"path": "/fs/apps/system/Visual Studio Code.tapp/myDav"
57+
"scheme": "${location.protocol.slice(0,-1)}",
58+
"path": "${location.pathname.split("/").slice(0,-1).join("/")}/myDav"
5959
}
6060
]
6161
}

product.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,19 @@
2020

2121
"additionalBuiltinExtensions": [
2222
{
23-
"scheme": "relative",
23+
"scheme": "http",
2424
"path": "/fs/apps/system/Visual Studio Code.tapp/myExt"
2525
},
2626
{
27-
"scheme": "relative",
27+
"scheme": "http",
28+
"path": "/fs/apps/system/Visual Studio Code.tapp/myDav"
29+
},
30+
{
31+
"scheme": "https",
32+
"path": "/fs/apps/system/Visual Studio Code.tapp/myExt"
33+
},
34+
{
35+
"scheme": "https",
2836
"path": "/fs/apps/system/Visual Studio Code.tapp/myDav"
2937
}
3038
]

0 commit comments

Comments
 (0)