major on recurrent events

This commit is contained in:
lesion
2019-07-23 01:31:43 +02:00
parent beab52d349
commit f9e0883eaf
19 changed files with 210 additions and 76 deletions

View File

@@ -32,6 +32,7 @@ module.exports = {
'element-ui/lib/theme-chalk/index.css'
],
/*
** Plugins to load before mounting the App
*/
@@ -59,6 +60,9 @@ module.exports = {
axios: {
prefix: '/api'
},
router: {
middleware: 'i18n'
},
auth: {
strategies: {
local: {
@@ -66,7 +70,9 @@ module.exports = {
login: { url: '/auth/login', method: 'post', propertyName: 'token' },
logout: false,
user: { url: '/auth/user', method: 'get', propertyName: false }
}
},
tokenRequired: false,
tokenType: 'Bearer'
}
}
},