use /ping instead of /ping.view to check login
This commit is contained in:
parent
797015caf9
commit
ffa001a42e
@ -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']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user