Make it so external images are handled correctly by the module

This commit is contained in:
Oliver 2026-02-01 23:14:05 -07:00
parent ef63860922
commit bf7a89e4a7
3 changed files with 6 additions and 2 deletions

View file

@ -1,5 +1,8 @@
import { filePath } from "../consts.mjs";
export function imagePath(image) {
if (image.external) {
return image.path;
};
return filePath(image.path);
};