mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-11-23 00:09:08 +01:00
parent
a591a334ed
commit
a100e13a18
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ export class DriveFileRepository extends Repository<DriveFile> {
|
|||
const key = thumbnail ? file.thumbnailAccessKey : file.webpublicAccessKey;
|
||||
|
||||
if (key && !key.match('/')) { // 古いものはここにオブジェクトストレージキーが入ってるので除外
|
||||
return `/files/${key}`;
|
||||
return `${config.url}/files/${key}`;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue