diff --git a/src/auth.ts b/src/auth.ts index fa73059..a63885d 100644 --- a/src/auth.ts +++ b/src/auth.ts @@ -72,7 +72,7 @@ export class Auth { } getBaseUrl(host?: string) { - const protocol = this.config?.protocol ?? "http"; + const protocol = this.config?.protocol ?? "https"; host = this.config?.host ?? host; return `${protocol}://${host}`; }