Merge branch 'node16' into 'develop'
Update Node.js to v16 (latest LTS) See merge request pleroma/admin-fe!260
This commit is contained in:
commit
d238489a1f
3 changed files with 5 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
image: node:12-alpine
|
||||
image: node:16-alpine
|
||||
|
||||
variables: &global_variables
|
||||
DOCKER_DRIVER: overlay2
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:10-alpine as build
|
||||
FROM node:16-alpine as build
|
||||
|
||||
COPY . .
|
||||
|
||||
|
|
|
@ -38,7 +38,9 @@ export default {
|
|||
},
|
||||
logout() {
|
||||
this.$store.dispatch('LogOut').then(() => {
|
||||
location.reload()// In order to re-instantiate the vue-router object to avoid bugs
|
||||
if (location.reload) {
|
||||
location.reload() // In order to re-instantiate the vue-router object to avoid bugs
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue