File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ export const defaultMapImageUrl = (
33
33
return url
34
34
}
35
35
}
36
+
37
+ if ( u . hostname === 'img.notionusercontent.com' ) {
38
+ return url
39
+ }
36
40
} catch {
37
41
// ignore invalid urls
38
42
}
Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ export function Asset({
275
275
}
276
276
} else if ( block . type === 'image' ) {
277
277
// console.log('image', block)
278
- //kind of a hack for now. New file.notion.so images aren't signed correctly
278
+ // TODO: kind of a hack for now. New file.notion.so images aren't signed correctly
279
279
if ( source . includes ( 'file.notion.so' ) ) {
280
280
source = block . properties ?. source ?. [ 0 ] ?. [ 0 ]
281
281
}
Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ export function wrapNextLink(NextLink: any) {
90
90
scroll = { scroll }
91
91
shallow = { shallow }
92
92
locale = { locale }
93
+ legacyBehavior
93
94
>
94
95
< a { ...linkProps } />
95
96
</ NextLink >
You can’t perform that action at this time.
0 commit comments