Skip to content

Commit cab916c

Browse files
committed
fix remote authority check
1 parent 2a36b7d commit cab916c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/api/browser/mainThreadAuthentication.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ export class MainThreadAuthentication extends Disposable implements MainThreadAu
324324
}
325325

326326
const remoteConnection = this.remoteAgentService.getConnection();
327-
if (remoteConnection && remoteConnection.remoteAuthority === 'vsonline' && VSO_ALLOWED_EXTENSIONS.includes(extensionId)) {
327+
if (remoteConnection && remoteConnection.remoteAuthority.startsWith('vsonline') && VSO_ALLOWED_EXTENSIONS.includes(extensionId)) {
328328
return true;
329329
}
330330

0 commit comments

Comments
 (0)