From 10157aae88d218da029b9c300434a184ec9aeeda Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Tue, 30 Jan 2018 18:28:21 +0330 Subject: [PATCH] feat: update defaults to axios 5.x --- lib/defaults.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/defaults.js b/lib/defaults.js index 81ee35179..db62b37f5 100644 --- a/lib/defaults.js +++ b/lib/defaults.js @@ -1,16 +1,16 @@ module.exports = { user: { - endpoint: 'auth/user', + endpoint: '/api/auth/user', propertyName: 'user', resetOnFail: true, enabled: true, method: 'GET' }, login: { - endpoint: 'auth/login' + endpoint: '/api/auth/login' }, logout: { - endpoint: 'auth/logout', + endpoint: '/api/auth/logout', method: 'GET' }, redirect: {