feat(website-server): Add configurable ads.txt support to website server

This commit is contained in:
2025-12-05 15:27:54 +00:00
parent 94c6e47e6e
commit d060d99146
3 changed files with 20 additions and 9 deletions

View File

@@ -1,5 +1,13 @@
# Changelog
## 2025-12-05 - 7.10.0 - feat(website-server)
Add configurable ads.txt support to website server
- Introduce adsTxt?: string[] option to the server options to allow configuring ads.txt entries.
- Serve /ads.txt only when adsTxt is provided; the route is not registered if no entries are configured.
- Replace previous hard-coded Google ads.txt entry with values joined from the provided adsTxt array and served as text/plain.
- Preserves existing behavior when adsTxt is not set (no /ads.txt endpoint will be exposed).
## 2025-12-05 - 7.9.0 - feat(typedserver)
Add configurable security headers and default SPA behavior