pattching a default to https redirects

This commit is contained in:
Landon Noss 2022-02-17 19:16:02 -07:00
parent 477782b10e
commit 16e86346a1

View File

@ -72,7 +72,7 @@ export class Auth {
} }
getBaseUrl(host?: string) { getBaseUrl(host?: string) {
const protocol = this.config?.protocol ?? "http"; const protocol = this.config?.protocol ?? "https";
host = this.config?.host ?? host; host = this.config?.host ?? host;
return `${protocol}://${host}`; return `${protocol}://${host}`;
} }