diff --git a/package/luci-app-dawnline/Makefile b/package/luci-app-dawnline/Makefile index 3ce3d34..cd32c88 100644 --- a/package/luci-app-dawnline/Makefile +++ b/package/luci-app-dawnline/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-dawnline -PKG_VERSION:=0.16.1 +PKG_VERSION:=0.16.2 PKG_RELEASE:=1 PKG_LICENSE:=MIT # po//dawnline.po becomes luci-i18n-dawnline- (luci.mk), released diff --git a/package/luci-app-dawnline/root/etc/init.d/dawnline b/package/luci-app-dawnline/root/etc/init.d/dawnline index 958cc2c..e77db6f 100755 --- a/package/luci-app-dawnline/root/etc/init.d/dawnline +++ b/package/luci-app-dawnline/root/etc/init.d/dawnline @@ -77,4 +77,8 @@ reload_service() { service_triggers() { procd_add_reload_trigger dawnline + # The portal's uhttpd reads its certificate once: an issued or renewed one needs a + # reload (procd restarts the portal alone, its cert file having changed). + procd_add_raw_trigger acme.issue 5000 /etc/init.d/dawnline reload + procd_add_raw_trigger acme.renew 5000 /etc/init.d/dawnline reload } diff --git a/package/luci-app-dawnline/root/usr/share/ucode/dawnline/util.uc b/package/luci-app-dawnline/root/usr/share/ucode/dawnline/util.uc index 15fd246..cd8d84a 100644 --- a/package/luci-app-dawnline/root/usr/share/ucode/dawnline/util.uc +++ b/package/luci-app-dawnline/root/usr/share/ucode/dawnline/util.uc @@ -5,7 +5,7 @@ import { open, readfile, writefile, rename, mkdir, stat, unlink, popen, lsdir } from 'fs'; import { _ } from 'dawnline.i18n'; -export const VERSION = '0.16.1'; +export const VERSION = '0.16.2'; /** GitHub repository with Dawnline releases (updates and the installer). */ export const REPO = 'tickcount/luci-app-dawnline'; export const RUN_DIR = '/var/run/dawnline'; diff --git a/web/package-lock.json b/web/package-lock.json index b06c5b9..515cfc7 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -1,12 +1,12 @@ { "name": "dawnline-web", - "version": "0.16.1", + "version": "0.16.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "dawnline-web", - "version": "0.16.1", + "version": "0.16.2", "license": "MIT", "dependencies": { "qrcode-generator": "2.0.4" diff --git a/web/package.json b/web/package.json index bc2c67e..6d05b74 100644 --- a/web/package.json +++ b/web/package.json @@ -1,6 +1,6 @@ { "name": "dawnline-web", - "version": "0.16.1", + "version": "0.16.2", "private": true, "license": "MIT", "type": "module", diff --git a/web/vercel.json b/web/vercel.json index b7bffcb..8eda7e8 100644 --- a/web/vercel.json +++ b/web/vercel.json @@ -4,7 +4,7 @@ "installCommand": "npm ci", "buildCommand": "npm run build:demo", "outputDirectory": "dist/demo", - "ignoreCommand": "[ \"$VERCEL_GIT_COMMIT_REF\" != main ] || git diff --quiet HEAD^ HEAD -- .", + "ignoreCommand": "[ \"$VERCEL_GIT_COMMIT_REF\" != main ] || git diff --quiet \"$VERCEL_GIT_PREVIOUS_SHA\" HEAD -- .", "headers": [ { "source": "/(.*)",