Skip to content

Commit acd1792

Browse files
committed
Resize image at the site level
1 parent 1efb826 commit acd1792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/gitbook-v2/src/lib/images/createImageResizer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export function createImageResizer({
6262
url: urlInput,
6363
});
6464

65-
const url = linker.toAbsoluteURL(linker.toPathInSpace('/~gitbook/image'));
65+
const url = linker.toAbsoluteURL(linker.toPathInSite('/~gitbook/image'));
6666
const searchParams = new URLSearchParams();
6767
searchParams.set('url', getImageAPIUrl(urlInput));
6868

0 commit comments

Comments
 (0)