stat-tracker/module/consts.mjs

7 lines
148 B
JavaScript

// MARK: filePath
export function filePath(path) {
if (path.startsWith(`/`)) {
path = path.slice(1);
};
return `modules/${__ID__}/${path}`;
};