docker: run both epic-games and prime-gaming by default

This commit is contained in:
Ralf Vogler 2022-12-24 15:20:45 +01:00
parent 67e622e6ec
commit 1c38f730ab
3 changed files with 7 additions and 1 deletions

View file

@ -10,6 +10,8 @@ const headless = !debug && !show;
const URL_CLAIM = 'https://gaming.amazon.com/home';
const TIMEOUT = 20 * 1000; // 20s, default is 30s
console.log(datetime(), 'started checking prime-gaming');
const db = await jsonDb('prime-gaming.json');
db.data ||= { claimed: [], runs: [] };
const run = {