mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-06-13 07:10:26 +08:00
Merge pull request #564 from jakubmisek/main
do not encode the `?target=web` query parameter
This commit is contained in:
@ -39,7 +39,7 @@ export function activate(context: ExtensionContext) {
|
||||
function createWorkerLanguageClient(context: ExtensionContext, clientOptions: LanguageClientOptions) {
|
||||
// Create a worker. The worker main file implements the language server.
|
||||
const serverMain = Uri.joinPath(context.extensionUri, 'server/dist/browserServerMain.js');
|
||||
const worker = new Worker(serverMain.toString());
|
||||
const worker = new Worker(serverMain.toString(true));
|
||||
|
||||
// create the language server client to communicate with the server running in the worker
|
||||
return new LanguageClient('lsp-web-extension-sample', 'LSP Web Extension Sample', clientOptions, worker);
|
||||
|
||||
Reference in New Issue
Block a user