Use basic image viewer

This commit is contained in:
Johannes Zellner
2023-04-01 11:33:22 +02:00
parent fe6ffaae94
commit c79fc1abdd
2 changed files with 19 additions and 7 deletions
+3
View File
@@ -33,6 +33,9 @@ export function createDirectoryModel(origin, accessToken, appId) {
const text = await result.text();
return text;
},
getFileUrl(path) {
return `${origin}/api/v1/apps/${appId}/files/${path}?access_token=${accessToken}`;
}
};
}