diff --git a/module/consts.mjs b/module/consts.mjs new file mode 100644 index 0000000..0d33f25 --- /dev/null +++ b/module/consts.mjs @@ -0,0 +1,9 @@ +export const __ID__ = `taf`; + +// MARK: filePath +export function filePath(path) { + if (path.startsWith(`/`)) { + path = path.slice(1); + }; + return `systems/${__ID__}/${path}`; +};