diff --git a/index.js b/index.js index e64160f..21a84ab 100644 --- a/index.js +++ b/index.js @@ -14,7 +14,7 @@ module.exports.login = (options) => { }, req = { method: 'POST', - uri: 'https://web.spaggiari.eu/auth/app/default/AuthApi2.php?a=aLoginPwd', + uri: 'https://web.spaggiari.eu/auth-p7/app/default/AuthApi4.php?a=aLoginPwd', form: postData, json: true, resolveWithFullResponse: true, @@ -38,4 +38,4 @@ function parseCookies(cookies) { r[cookie.substr(0, 9)] = cookie.substr(10, 32) }); return r; -} \ No newline at end of file +}