aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-06-07 21:25:28 -0700
committerPinapelz <yukais@pinapelz.com>2026-06-07 21:25:28 -0700
commit01e417ed08a8327169e6488a557c46b6a7b97a08 (patch)
tree499cabb53a48e79f1f2f6379b6c4c8506b619798 /server
parent4e54dfe40b0c20c5b4d4c20b288a8eb8a3805280 (diff)
bundle song list statically, improve search timeHEADmaster
Diffstat (limited to 'server')
-rw-r--r--server/index.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/server/index.ts b/server/index.ts
index c1ab788..cdc57d5 100644
--- a/server/index.ts
+++ b/server/index.ts
@@ -1,7 +1,6 @@
import express from "express";
import cors from "cors";
import dotenv from "dotenv";
-import { songs } from "./data/songs";
import { dailyRouter } from "./daily";
import { selectRouter } from "./select";
@@ -16,8 +15,5 @@ const SERVER_PORT = process.env.SERVER_PORT || 3001;
app.use(dailyRouter);
app.use(selectRouter);
-app.get("/songs", (_req, res) => {
- res.json(songs.map(({ artist, name }) => ({ artist, name })));
-});
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