aboutsummaryrefslogtreecommitdiffstats
path: root/server/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/index.ts')
-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