Add local statics for images and typefaces

This solves issue #1958.

Add static paths /staticImages and /staticFonts

If a local environment is detected ( per existing loginc for login )
paths are added using the values in HB_IMAGES and HB_FONTS or the default values of /staticImages and /staticFonts respectively.
This commit is contained in:
David Bolack committed 2023-11-07 20:21:19 -06:00
1 parent ce946bda98
commit ffe12ebee7
3 files changed
+12 -1

No files matched your search

+2 -1
View File
@@ -3,7 +3,7 @@
"description": "Create authentic looking D&D homebrews using only markdown",
"version": "3.10.0",
"engines": {
"npm": "^10.2.x",
"npm": "^10.2.x",
"node": ">=20.8.x"
},
"repository": {
@@ -93,6 +93,7 @@
"express": "^4.18.2",
"express-async-handler": "^1.2.0",
"express-static-gzip": "2.1.7",
"fs": "^0.0.1-security",
"fs-extra": "11.1.1",
"js-yaml": "^4.1.0",
"jwt-simple": "^0.5.6",