mirror of
https://github.com/kevin-DL/comedy-video-lib.git
synced 2026-01-14 20:14:49 +00:00
- Created midlewares for authenticated and guest] - Add the token to the api calls - Added redirect after the login
10 lines
157 B
JavaScript
10 lines
157 B
JavaScript
export const state = () => ({
|
|
redirectedFrom: null
|
|
})
|
|
|
|
export const mutations = {
|
|
setRedirectedFrom(state, from) {
|
|
state.redirectedFrom = from
|
|
}
|
|
}
|