diff --git a/backend/server/src/FileManager.ts b/backend/server/src/FileManager.ts index 2f58fbf..88d53f3 100644 --- a/backend/server/src/FileManager.ts +++ b/backend/server/src/FileManager.ts @@ -128,7 +128,7 @@ export class FileManager { // Copy all files from the project to the container const promises = this.fileData.map(async (file) => { try { - const filePath = path.join(this.dirName, file.id) + const filePath = path.posix.join(this.dirName, file.id) const parentDirectory = path.dirname(filePath) if (!this.sandbox.files.exists(parentDirectory)) { await this.sandbox.files.makeDir(parentDirectory)