Skip to content

Commit 6e76a72

Browse files
Update page-icon.tsx
Typo: use SSL
1 parent 41c83f8 commit 6e76a72

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/react-notion-x/src/components/page-icon.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ export const PageIconImpl: React.FC<{
5050
)
5151
} else if (icon && icon.startsWith('/icons/')) {
5252
const url =
53-
'http://www.notion.so' + icon + '?mode=' + (darkMode ? 'dark' : 'light')
53+
'https://www.notion.so' +
54+
icon +
55+
'?mode=' +
56+
(darkMode ? 'dark' : 'light')
5457

5558
content = (
5659
<LazyImage

0 commit comments

Comments
 (0)