From 8b0696b7b68d618a1264e1a626345153f2c64f63 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Sun, 7 Aug 2022 21:51:11 +0200 Subject: [PATCH 1/3] CI: Upgrade to node 16 (current LTS) --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 67de1499..127084bb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: node:12-alpine +image: node:16-alpine variables: &global_variables DOCKER_DRIVER: overlay2 From d477ae507beb3aca8184dc35f76676feb9696a3e Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Fri, 26 Aug 2022 12:18:17 +0200 Subject: [PATCH 2/3] Dockerfile: Update to Node 16 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fef057d9..f5b9fe8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:10-alpine as build +FROM node:16-alpine as build COPY . . From e58c9c7f6fadbf4f5e007a0ef70cb29cc14f91c2 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Sun, 28 Aug 2022 15:20:30 +0200 Subject: [PATCH 3/3] Navbar: workaround NodeJS missing location.reload --- src/views/layout/components/Navbar.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/layout/components/Navbar.vue b/src/views/layout/components/Navbar.vue index 0d9ce643..66fe0dc5 100644 --- a/src/views/layout/components/Navbar.vue +++ b/src/views/layout/components/Navbar.vue @@ -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 + } }) } }