Skip to content

Commit 8d18258

Browse files
authored
Don't use binary format for transport in public api client (#120)
* Don't use binary format so it's possible to downgrate to http1.1 when http2 is not available * 🆙 bump version
1 parent 2ffe187 commit 8d18258

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "Gitpod",
44
"description": "Required to connect to Classic workspaces",
55
"publisher": "gitpod",
6-
"version": "0.0.181",
6+
"version": "0.0.182",
77
"license": "MIT",
88
"icon": "resources/gitpod.png",
99
"repository": {

src/publicApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export class GitpodPublicApi extends Disposable implements IGitpodAPI {
8484
baseUrl: serviceUrl.toString(),
8585
httpVersion: '2',
8686
interceptors: [authInterceptor, metricsInterceptor],
87-
useBinaryFormat: true,
87+
useBinaryFormat: false,
8888
pingIntervalMs: 120000,
8989
pingTimeoutMs: 10000
9090
});

0 commit comments

Comments
 (0)