Skip to content

Commit

Permalink
fix write cache file
Browse files Browse the repository at this point in the history
  • Loading branch information
an-lee committed Feb 20, 2024
1 parent c7f6009 commit 66bad20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enjoy/src/main/db/handlers/cache-objects-handler.ts
Expand Up @@ -72,7 +72,7 @@ class CacheObjectsHandler {
const output = path.join(settings.cachePath(), filename);
fs.writeFileSync(output, Buffer.from(data));

return output.replace(settings.libraryPath(), "enjoy://library");
return `enjoy://library/cache/${filename}`;
}

register() {
Expand Down

0 comments on commit 66bad20

Please sign in to comment.