Restore video search base URL handling
build-push / docker (push) Successful in 4m17s

This commit is contained in:
GHStaK
2026-03-24 17:12:41 +09:00
parent 73d820ddaa
commit e3dbedc59f
3 changed files with 31 additions and 1 deletions
+12
View File
@@ -268,6 +268,18 @@
- backend debug broadcasts
## Recent Change Log
- Date: `2026-03-24`
- What changed:
- Restored the video-search request path to tolerate a scheme-less `SEARXNG_BASE_URL` such as `192.168.1.66:8087` by normalizing it to `http://...` during search-service initialization.
- Added regression coverage so the video search service keeps accepting the older style base URL configuration used in live deployment.
- Why it changed:
- Real user logs showed video search failing immediately with `first path segment in URL cannot contain colon`, which traced back to a scheme-less SearXNG base URL in the deployed environment.
- How it was verified:
- log review of `ai-media-hub-2026-03-24T08-09-23-204Z.log`
- added unit coverage for scheme-less base URL normalization
- What is still risky or incomplete:
- Go tests could not be rerun in this environment because `go` is currently unavailable here, so this fix is verified by code-path review plus the added test only.
- Date: `2026-03-24`
- What changed:
- Corrected the Unraid template GIPHY download path mapping from `/downloads/giphy` to `/app/downloads/giphy` so it matches the backend default download directory layout.