Skip to content

Commit e232be7

Browse files
authored
feat: use relative route in upateUrl (#17)
1 parent 0e9d248 commit e232be7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/server/webClientServer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ export class WebClientServer {
319319
webEndpointUrl: this.createRequestUrl(req, parsedUrl, '/static').toString(),
320320
webEndpointUrlTemplate: this.createRequestUrl(req, parsedUrl, '/static').toString(),
321321

322-
updateUrl: this.createRequestUrl(req, parsedUrl, '/update/check').toString(),
322+
updateUrl: './update/check'
323323
},
324324
folderUri: (workspacePath && isFolder) ? transformer.transformOutgoing(URI.file(workspacePath)) : undefined,
325325
workspaceUri: (workspacePath && !isFolder) ? transformer.transformOutgoing(URI.file(workspacePath)) : undefined,

0 commit comments

Comments
 (0)