Skip to content

Commit b4a4039

Browse files
committed
fix cache file path for containers
1 parent e82c07c commit b4a4039

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cache.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { readFile, writeFile } from "node:fs/promises";
33

44
const isDocker = existsSync("/.dockerenv");
55
const isPodman = existsSync("/run/.containerenv");
6-
const CACHE_FILE = isDocker || isPodman ? "/var/cache/steam-update-dispatcher" : "config/cache.json";
6+
const CACHE_FILE = isDocker || isPodman ? "/var/cache/steam-update-dispatcher/cache.json" : "config/cache.json";
77

88
export default class Cache {
99
constructor() {

0 commit comments

Comments
 (0)