提交 67e4daf0 编写于 作者: M Martin Aeschlimann

Fix to use vscode scheme

上级 0a1ed458
......@@ -90,7 +90,7 @@ let request = (options: IXHROptions): Thenable<IXHRResponse> => {
err ? e({ responseText: '', status: 404 }) : c({ responseText: result.toString(), status: 200 })
});
});
} else if (Strings.startsWith(options.url, 'vscode-schema://')) {
} else if (Strings.startsWith(options.url, 'vscode://')) {
return connection.sendRequest(VSCodeContentRequest.type, options.url).then(responseText => {
return {
responseText: responseText,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册