mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-29 07:49:53 +01:00
Update packages/frontend/src/components/MkNote.stories.ts
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
This commit is contained in:
parent
5b6a78c6ff
commit
68c7aa266b
1 changed files with 1 additions and 3 deletions
|
@ -62,9 +62,7 @@ export const Default = {
|
||||||
const url = new URL(urlStr);
|
const url = new URL(urlStr);
|
||||||
|
|
||||||
if (
|
if (
|
||||||
url.href.startsWith(
|
url.href.startsWith('https://github.com/misskey-dev/misskey/blob/master/packages/frontend/assets/')
|
||||||
'https://github.com/misskey-dev/misskey/blob/master/packages/frontend/assets/',
|
|
||||||
)
|
|
||||||
) {
|
) {
|
||||||
const image = await (
|
const image = await (
|
||||||
await fetch(`client-assets/${url.pathname.split('/').pop()}`)
|
await fetch(`client-assets/${url.pathname.split('/').pop()}`)
|
||||||
|
|
Loading…
Reference in a new issue