From ffa001a42e40e10a57c6beab5c9902dd7e581fbe Mon Sep 17 00:00:00 2001 From: Thomas Amland Date: Sat, 13 Mar 2021 18:15:55 +0100 Subject: [PATCH] use /ping instead of /ping.view to check login --- src/auth/service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth/service.ts b/src/auth/service.ts index 23819fb..4b156b5 100644 --- a/src/auth/service.ts +++ b/src/auth/service.ts @@ -47,7 +47,7 @@ export class AuthService { hash: string, remember: boolean ) { - const url = `${server}/rest/ping.view?u=${username}&s=${salt}&t=${hash}&v=1.15.0&c=app&f=json` + const url = `${server}/rest/ping?u=${username}&s=${salt}&t=${hash}&v=1.15.0&c=app&f=json` return axios.get(url) .then((response) => { const subsonicResponse = response.data['subsonic-response']