aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-06-03 10:17:05 -0700
committerPinapelz <yukais@pinapelz.com>2026-06-03 10:18:00 -0700
commitbb249f5733cf8cd7cb0f8a33fc9f962e76e1ec7d (patch)
tree40bcf8e387d31a702851b0c1f538ed6a45d254c9 /server
parent0d319fdf270fa5ec7792b1d864ca9dd616e0a78c (diff)
server: remove fallback static page
Diffstat (limited to 'server')
-rw-r--r--server/index.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/server/index.ts b/server/index.ts
index f94eb74..40f788e 100644
--- a/server/index.ts
+++ b/server/index.ts
@@ -46,11 +46,5 @@ app.get('/info', (_req, res) => {
res.json({ startDate: startDate.toISOString() });
});
-if (process.env.NODE_ENV === 'production') {
- app.use(express.static(path.join(__dirname, '../build')));
- app.get('*', (_req, res) => {
- res.sendFile(path.join(__dirname, '../build', 'index.html'));
- });
-}
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