diff options
| author | Pinapelz <yukais@pinapelz.com> | 2026-06-03 19:29:09 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2026-06-03 19:29:09 -0700 |
| commit | 8f187a4faf4b413e18a13e628c126f2e48ac6823 (patch) | |
| tree | 628ea36dea2802c8499b61de550b6df85902c6d7 /server | |
| parent | 470adff2f38e66411255977c9d467abbf2098e9c (diff) | |
remove /info move startDate back to client side
Diffstat (limited to 'server')
| -rw-r--r-- | server/data/startDate.ts | 1 | ||||
| -rw-r--r-- | server/index.ts | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/server/data/startDate.ts b/server/data/startDate.ts deleted file mode 100644 index bb49bfe..0000000 --- a/server/data/startDate.ts +++ /dev/null @@ -1 +0,0 @@ -export const startDate = new Date('6/3/2026'); diff --git a/server/index.ts b/server/index.ts index 54b3c18..c223861 100644 --- a/server/index.ts +++ b/server/index.ts @@ -1,6 +1,5 @@ import express from 'express'; import { songs } from './data/songs'; -import { startDate } from './data/startDate'; import cors from 'cors'; import dotenv from 'dotenv'; dotenv.config(); @@ -63,9 +62,5 @@ app.get('/songs', (_req, res) => { res.json(songs.map(({ artist, name }) => ({ artist, name }))); }); -app.get('/info', (_req, res) => { - res.json({ startDate: startDate.toISOString() }); -}); - app.listen(SERVER_PORT, () => console.log(`Server running on :${SERVER_PORT}`)); |
