Files
lettersoup-online/002_source/cms/src/lib/get-image-url-from-file.ts.ts
louiscklaw 6e8fea3bdd update,
2025-04-26 06:15:18 +08:00

4 lines
186 B
TypeScript

export default function getImageUrlFromFile(collectionId: string, id: string, catImage: string): string {
return `http://127.0.0.1:8090/api/files/${collectionId}/${id}/${catImage}`;
}