diff --git a/server/src/utils/appPaths.ts b/server/src/utils/appPaths.ts index 72d3042f..d3a1d1f5 100644 --- a/server/src/utils/appPaths.ts +++ b/server/src/utils/appPaths.ts @@ -24,6 +24,9 @@ if (process.env.THORIUM_PATH) { } } +/* format path to function with windows machines */ +thoriumPath = thoriumPath.replaceAll('\\', '/'); + fs.mkdirSync(thoriumPath, {recursive: true}); export const databaseName =