diff options
| author | Paul Buetow <paul@buetow.org> | 2026-06-17 22:56:43 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-06-17 22:56:43 +0300 |
| commit | abe75a4209f86b562ac3e711804713c9a4325443 (patch) | |
| tree | 767318599e55b03d5f03d5b60d30b6793eafe4d9 /opencode | |
| parent | 03ea6253b3ccd9f0a4582969841c09b96cae59fb (diff) | |
immich-upload: auto-detect LAN vs public ingress
Probe the LAN /api/server/ping endpoint with a short timeout and use it
when reachable, otherwise fall back to the public HTTPS URL. Fixes the
indefinite hang when running off the home LAN.
Amp-Thread-ID: https://ampcode.com/threads/T-019ed713-5af1-72a2-8a4e-27ee32c1d6d5
Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'opencode')
0 files changed, 0 insertions, 0 deletions
