Merge branch 'node16' into 'develop'

Update Node.js to v16 (latest LTS)

See merge request pleroma/admin-fe!260
This commit is contained in:
Haelwenn 2022-08-28 13:53:04 +00:00
commit d238489a1f
3 changed files with 5 additions and 3 deletions

View file

@ -1,4 +1,4 @@
image: node:12-alpine
image: node:16-alpine
variables: &global_variables
DOCKER_DRIVER: overlay2

View file

@ -1,4 +1,4 @@
FROM node:10-alpine as build
FROM node:16-alpine as build
COPY . .

View file

@ -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
}
})
}
}