We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 524cb4b commit 1041858Copy full SHA for 1041858
src/components/post/PostContent.tsx
@@ -29,11 +29,9 @@ function optimizeImagesFromPost(markdown: string) {
29
/(?:!\[(.*?)\]\(https:\/\/images.velog.io\/(.*?)\))/g,
30
);
31
if (!matches) return markdown;
32
- console.log(matches);
33
const replacers = matches.map((match) => {
34
const filename =
35
match.match(/https:\/\/images.velog.io\/(.*?)\)/)?.[1] ?? '';
36
- console.log(filename);
37
const proeperlyEncoded = encodeURIComponent(decodeURI(filename));
38
return [
39
match,
0 commit comments