Fix screenshot URL path: remove leading slash

This commit is contained in:
eduard256
2026-04-01 16:07:22 +00:00
parent f34a7b96c7
commit 20d5ad2f0b
+1 -1
View File
@@ -95,7 +95,7 @@ func testURL(s *Session, rawURL string) {
if jpeg != nil {
idx := s.AddScreenshot(jpeg)
r.Screenshot = fmt.Sprintf("/api/test/screenshot?id=%s&i=%d", s.ID, idx)
r.Screenshot = fmt.Sprintf("api/test/screenshot?id=%s&i=%d", s.ID, idx)
r.Width, r.Height = jpegSize(jpeg)
}
}