Skip to content
Snippets Groups Projects
Unverified Commit a100e13a authored by MeiMei's avatar MeiMei Committed by GitHub
Browse files

Fix #6513 キャッシュされてないリモートファイルのURLが相対URLで返ってくる (#6514)

parent a591a334
No related branches found
No related tags found
No related merge requests found
......@@ -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}`;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment