From 6588718feacadef4c2e0eb219de8db67ac3c2ea0 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sun, 9 Jun 2024 12:16:45 -0600 Subject: [PATCH 1/3] bump to lts --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 18046c5..d883d46 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -7,7 +7,7 @@ # dependencies used by the app # nodejs version -nodejs_version=16 +nodejs_version=22 #================================================= # PERSONAL HELPERS From f72725dd0a5db175fd1dad933bf96c127bf915d6 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sun, 9 Jun 2024 12:24:54 -0600 Subject: [PATCH 2/3] use bundled npm --- scripts/install | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/install b/scripts/install index bb24d31..5bbba57 100755 --- a/scripts/install +++ b/scripts/install @@ -16,9 +16,6 @@ ynh_script_progression --message="Installing dependencies..." --weight=10 ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version -# Upgrade NPM -ynh_npm install --global npm@7.21.1 - #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= From ef205f317c0abd829080c511951bf585f340473f Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sun, 9 Jun 2024 12:39:28 -0600 Subject: [PATCH 3/3] fix host --- conf/.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/.env b/conf/.env index 70c672b..694242b 100644 --- a/conf/.env +++ b/conf/.env @@ -1,6 +1,6 @@ NODE_ENV=production PORT=__PORT__ -HOST=localhost +HOST=127.0.0.1 CONFIG_PATH=__DATA_DIR__/config AUDIOBOOK_PATH=__DATA_DIR__/audiobooks METADATA_PATH=__DATA_DIR__/metadata