aboutsummaryrefslogtreecommitdiffstats
path: root/server/index.ts
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-06-26 21:55:46 -0700
committerPinapelz <yukais@pinapelz.com>2026-06-26 21:55:46 -0700
commit00d476a0e51629f06407aed035fbc001d3f6b114 (patch)
tree016338cc4dacff54ba1cbe11fce063152cbd28ab /server/index.ts
parent84fbd4ee1e159b0426d664cc98a3dc7165d6381f (diff)
initial guess MV mode
Diffstat (limited to 'server/index.ts')
-rw-r--r--server/index.ts9
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}`));
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage