Add version info to web app

This commit is contained in:
nimbleghost 2023-06-26 22:05:33 +02:00
parent 5627097a6c
commit 7ac448f78c
4 changed files with 10 additions and 3 deletions

View file

@ -137,7 +137,7 @@ web: web-deps web-build
web-build:
cd web \
&& npm run build \
&& VITE_NTFY_VERSION=$(VERSION) VITE_NTFY_COMMIT=$(COMMIT) npm run build \
&& mv build/index.html build/app.html \
&& rm -rf ../server/site \
&& mv build ../server/site \