|
@ -23,7 +23,7 @@ const Login = () => { |
|
|
|
|
|
|
|
|
try { |
|
|
try { |
|
|
const testConnection = await axios.get( |
|
|
const testConnection = await axios.get( |
|
|
`${cleanServerName}/rest/getUsers?v=1.15.0&c=sonixd&f=json&u=${userName}&s=${salt}&t=${hash}` |
|
|
`${cleanServerName}/rest/getScanStatus?v=1.15.0&c=sonixd&f=json&u=${userName}&s=${salt}&t=${hash}` |
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|
// Since a valid request will return a 200 response, we need to check that there
|
|
|
// Since a valid request will return a 200 response, we need to check that there
|
|
|