Initial release 0.1.0

This commit is contained in:
hnzio committed 2026-10-21 14:50:31 +02:00
commit 9f97d8407a
52 files changed
+6774

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import path from 'node:path';
function configuredPath(value, fallback) {
return path.resolve(process.cwd(), value || fallback);
}
export function getPaths() {
return {
database: configuredPath(process.env.SENDEWERK_DB_PATH, '.data/sendewerk.sqlite'),
uploads: configuredPath(process.env.SENDEWERK_UPLOAD_DIR, '.data/uploads')
};
}