From 650c3754e74ed0dd0ea76969771161b230404154 Mon Sep 17 00:00:00 2001 From: Miguel Campos Date: Mon, 4 Nov 2024 20:55:10 -0800 Subject: [PATCH] reduce raffle ratios --- apps/charity/next.config.js | 4 ++++ apps/charity/pages/api/cron/spawn-raffle.ts | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/apps/charity/next.config.js b/apps/charity/next.config.js index 8003a0c4..3af2ab65 100644 --- a/apps/charity/next.config.js +++ b/apps/charity/next.config.js @@ -72,6 +72,10 @@ const nextConfig = { protocol: 'https', hostname: 'shared.akamai.steamstatic.com', }, + { + protocol: 'https', + hostname: 'shared.fastly.steamstatic.com', + }, ], }, nx: { diff --git a/apps/charity/pages/api/cron/spawn-raffle.ts b/apps/charity/pages/api/cron/spawn-raffle.ts index cf3c74ec..522ba221 100644 --- a/apps/charity/pages/api/cron/spawn-raffle.ts +++ b/apps/charity/pages/api/cron/spawn-raffle.ts @@ -72,13 +72,13 @@ const prizes = { '102': { itemId: '102', premium: false, - numWinners: [1, 2, 3], + numWinners: [1, 1, 1, 1, 1, 1, 2], imageUrl: undefined, }, '103': { itemId: '103', premium: false, - numWinners: [1, 1, 1, 2, 3], + numWinners: [1, 1, 1, 1, 1, 1, 2], imageUrl: undefined, }, '1000': { @@ -90,7 +90,7 @@ const prizes = { '4': { itemId: '4', premium: true, - numWinners: [1, 1, 1, 2, 3], + numWinners: [1, 1, 1, 1, 1, 1, 2], imageUrl: [ 'https://cdn.charity.games/_raffles/random_steam_key_1.png', 'https://cdn.charity.games/_raffles/random_steam_key_2.png',