Add support for images

This commit is contained in:
2024-09-29 23:44:24 +02:00
parent 879c1d96ff
commit 43d647c9ea
7 changed files with 118 additions and 12 deletions

View File

@@ -127,3 +127,7 @@ export const commitAndPush = async (message) => {
throw error;
}
};
export const getFileUrl = (filePath) => {
return `${API_BASE_URL}/files/${filePath}`;
};