diff options
| author | Pinapelz <yukais@pinapelz.com> | 2026-06-26 21:55:46 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2026-06-26 21:55:46 -0700 |
| commit | 00d476a0e51629f06407aed035fbc001d3f6b114 (patch) | |
| tree | 016338cc4dacff54ba1cbe11fce063152cbd28ab /server | |
| parent | 84fbd4ee1e159b0426d664cc98a3dc7165d6381f (diff) | |
initial guess MV mode
Diffstat (limited to 'server')
| -rw-r--r-- | server/index.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/server/index.ts b/server/index.ts index cdc57d5..5799881 100644 --- a/server/index.ts +++ b/server/index.ts @@ -15,5 +15,14 @@ const SERVER_PORT = process.env.SERVER_PORT || 3001; app.use(dailyRouter); app.use(selectRouter); +const enableDailyMusicVideo = process.env.ENABLE_DAILY_MUSIC_VIDEO === "true"; + +app.route("/info") + .get((_, res) => { + res.json({ + dailyMusic: true, // for now assume daily heardle is always playable (bare minimum for instance) + dailyMV: enableDailyMusicVideo, // signify to worker whether daily MV guessing should be ran + }); + }); app.listen(SERVER_PORT, () => console.log(`Server running on :${SERVER_PORT}`)); |
