Permalink
Browse files

feat: update defaults to axios 5.x

  • Loading branch information...
pi0 committed Jan 30, 2018
1 parent ae5c23e commit 10157aae88d218da029b9c300434a184ec9aeeda
Showing with 3 additions and 3 deletions.
  1. +3 −3 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: {

0 comments on commit 10157aa

Please sign in to comment.