1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/FileStorage.ts b/src/util/FileStorage.ts
index 9c9911f3..48b4a6a5 100644
--- a/src/util/FileStorage.ts
+++ b/src/util/FileStorage.ts
@@ -16,7 +16,7 @@ export class FileStorage implements Storage {
}
async set(path: string, value: any) {
- path = join(process.env.STORAGE_LOCATION || "", path);
+ path = join(process.env.STORAGE_LOCATION || "", path).replace(/[\\]/g, "/");
const dir = path.split("/").slice(0, -1).join("/");
await fs.mkdir(dir, { recursive: true }).caught();
|