Allows refs in github uris

This commit is contained in:
Eric Amodio
2020-06-10 01:42:04 -04:00
parent 5b3517310f
commit 835142c44e
3 changed files with 43 additions and 22 deletions

View File

@@ -270,7 +270,7 @@ async function handleRoot(req, res) {
const webConfigJSON = escapeAttribute(JSON.stringify({
...webConfig,
folderUri: ghPath
? { scheme: 'github', authority: 'github.com', path: ghPath }
? { scheme: 'github', authority: 'HEAD', path: ghPath }
: { scheme: 'memfs', path: `/sample-folder` },
}));