Remove default path prefixes for local mirroring

- Removed hardcoded defaults for ZXDB_FILE_PREFIX and WOS_FILE_PREFIX in
  resolveLocalLink.
- Updated docs/ZXDB.md and example.env to remove mentions of defaults.
- Default behavior is now no prefix stripping if variables are omitted.

Signed-off-by: Junie@lucy.xalior.com
This commit is contained in:
2026-02-17 12:35:46 +00:00
parent ab7872b610
commit 2e47b598c1
3 changed files with 2 additions and 4 deletions

View File

@@ -29,7 +29,6 @@ CDN_CACHE=/mnt/files/zxfiles
# WOS_LOCAL_FILEPATH=/path/to/local/wos/mirror
# Optional: Path prefixes to strip from database links before local matching.
# Defaults to "/zxdb/sinclair/" and "/pub/sinclair/" if omitted.
# ZXDB_FILE_PREFIX=/zxdb/sinclair/
# WOS_FILE_PREFIX=/pub/sinclair/