mirror of
https://github.com/Dan6erbond/sk-auth.git
synced 2025-05-02 01:17:00 +02:00
pattching a default to https redirects
This commit is contained in:
parent
477782b10e
commit
16e86346a1
@ -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}`;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user