Fix screenshot URL path: remove leading slash
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user