use /ping instead of /ping.view to check login

This commit is contained in:
Thomas Amland 2021-03-13 18:15:55 +01:00
parent 797015caf9
commit ffa001a42e

View File

@ -47,7 +47,7 @@ export class AuthService {
hash: string, hash: string,
remember: boolean 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) return axios.get(url)
.then((response) => { .then((response) => {
const subsonicResponse = response.data['subsonic-response'] const subsonicResponse = response.data['subsonic-response']