diff options
Diffstat (limited to 'server/index.ts')
| -rw-r--r-- | server/index.ts | 5 |
1 files changed, 0 insertions, 5 deletions
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}`)); |
