aboutsummaryrefslogtreecommitdiff
path: root/SETUP.md
Commit message (Collapse)AuthorAgeFilesLines
* fix: serve media again by unsetting download-proxy and scoping Host per requestChristian Cleberg2026-07-151-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | Two independent faults made every image fail while pages still rendered. config.example.json shipped download-proxy=http://127.0.0.1:8080. Only media fetches go through that proxy — pages reach DeviantArt via devianter on the default transport — so when nothing listens there, images 502 and the rest of the page looks fine. In a scratch container 127.0.0.1 is the container itself, so the default could never work under Docker. Unset it and document that it must stay empty unless an operator really runs a proxy. Host was a package global reassigned by every request, so a concurrent request could overwrite it mid-render and emit URLs on another origin's host and port. The instance's own default-src 'self' CSP then blocked those images. Thread the request's host through skunkyart instead, and take it as an explicit argument in URLBuilder, ParseMedia, ParseDescription, BuildUserPlate and ConvertDeviantArtURLToSkunkyArt. Feeds keep their absolute URLs. Also start RefreshInstances after ExecuteConfig rather than before it: the goroutine read CFG while json.Unmarshal was writing it (a race the detector flags), and its fetch escaped both the throttle and the configured User-Agent. Verified: 300 concurrent requests with distinct Host headers now round-trip their own host (was 1 leak per 300), go test -race is clean, and cache+proxy both enabled serves 200 image/jpeg cold and from cache.
* fix: remove russian language throughoutChristian Cleberg2026-07-151-2/+0
|
* fix: point source links and instance fetch at this forkChristian Cleberg2026-07-141-1/+1
| | | | | | | | | | | | | | | Upstream references still pointed at git.macaw.me, which is unmaintained and whose instances.json is a dead link. Repoint them at this repo: - RefreshInstances now fetches instances.json from raw.githubusercontent - source/version links in index.htm, about.htm, and CLI help use the GitHub releases tag URL - SETUP.md/SETUP-RU.md language switch links were Gitea-absolute paths that 404 on GitHub; make them relative - --add-instance message says 'main' branch, matching this repo The fork attribution in README.md is left as-is: it credits upstream rather than pointing at the source.
* Add da.opnxng.com + lost-skunk.cc is now in Finlandlost+skunk2025-04-071-0/+0
|
* v1.3.2v1.3.2lost+skunk2024-09-231-1/+1
|
* темплейты в бинарнике и улучшенная ↵lost+skunk2024-08-131-1/+1
| | | | система кеша
* v1.3lost+skunk2024-08-011-0/+42