Use thumnbails instead of full screenshots for previews
This commit is contained in:
parent
4163bf3cf7
commit
7c4de6fc5c
@ -12,6 +12,7 @@ enum taskState {
|
||||
|
||||
type Screenshot = {
|
||||
url: string;
|
||||
thumb_url: string;
|
||||
domain: string;
|
||||
filename: string;
|
||||
found_headers: string[];
|
||||
@ -196,7 +197,7 @@ export default function ScreenshotGenerator({
|
||||
key={`${taskId}_${screenshot.url}`}
|
||||
className="browser browser--filled"
|
||||
style={{
|
||||
backgroundImage: `url(${SS_URL}${screenshot.url})`,
|
||||
backgroundImage: `url(${SS_URL}${screenshot.thumb_url})`,
|
||||
}}
|
||||
>
|
||||
<div className="browser__header">
|
||||
|
Loading…
Reference in New Issue
Block a user