From 00d476a0e51629f06407aed035fbc001d3f6b114 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Fri, 26 Jun 2026 21:55:46 -0700 Subject: initial guess MV mode --- server/index.ts | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'server') 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}`)); -- cgit v1.2.3