From a1bd7c3a0a436e21efcf540f102684404f1039d7 Mon Sep 17 00:00:00 2001 From: Fizitzfux <66255957+fizitzfux@users.noreply.github.com> Date: Thu, 15 Feb 2024 14:52:31 +0000 Subject: [PATCH 1/2] Fix #21 --- www/extensions/profile/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/extensions/profile/index.js b/www/extensions/profile/index.js index 8b697c8..2a94951 100644 --- a/www/extensions/profile/index.js +++ b/www/extensions/profile/index.js @@ -1,5 +1,5 @@ exports.requires_login = function (path) { - if (path == ['getconf']) { + if (path.at(0) == 'getconf') { return false } return true From 0ae88a91e3a04b9ba6dd07ed25a23e2214e00a1b Mon Sep 17 00:00:00 2001 From: Fizitzfux <66255957+fizitzfux@users.noreply.github.com> Date: Thu, 15 Feb 2024 14:55:17 +0000 Subject: [PATCH 2/2] update version identifier --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index f52d21c..01b60cc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "keuknet", - "version": "2.1.2", + "version": "2.1.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "keuknet", - "version": "2.1.2", + "version": "2.1.3", "license": "MPL-2.0", "dependencies": { "dotenv": "^16.4.2", diff --git a/package.json b/package.json index 59bcb38..53323b2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "keuknet", - "version": "2.1.2", + "version": "2.1.3", "description": "A webserver and client program for easily managing a WireGuard-network in a client-server setting.", "main": "index.js", "scripts": {