Because of a misplaced ! in client.ts, discovery document isn't accepted if its content-type is right:
` if (!resp.headers.has('Content-Type') || resp.headers.get('Content-Type')!.startsWith('application/json')) {
Additionnaly, when that is fixed, this code gives me wrong endpoints:
Because of a misplaced
!
in client.ts, discovery document isn't accepted if its content-type is right:` if (!resp.headers.has('Content-Type') || resp.headers.get('Content-Type')!.startsWith('application/json')) {
Additionnaly, when that is fixed, this code gives me wrong endpoints:
returns this:
(second url seems to be defaulted instead of using the discovery document)