mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-07 08:24:27 +00:00
Add support for images
This commit is contained in:
@@ -127,3 +127,7 @@ export const commitAndPush = async (message) => {
|
||||
throw error;
|
||||
}
|
||||
};
|
||||
|
||||
export const getFileUrl = (filePath) => {
|
||||
return `${API_BASE_URL}/files/${filePath}`;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user