Skip to content

Commit

Permalink
feat: update defaults to axios 5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Pooya Parsa committed Feb 1, 2018
1 parent ae5c23e commit 10157aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/defaults.js
Original file line number Diff line number Diff line change
@@ -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: {
Expand Down

0 comments on commit 10157aa

Please sign in to comment.