fix: keep only project subdirectory files
This commit is contained in:
6
server.js
Normal file
6
server.js
Normal file
@@ -0,0 +1,6 @@
|
||||
import express from 'express';
|
||||
const app = express();
|
||||
const PORT = Number(process.env.PORT || 8080);
|
||||
app.use(express.static('public'));
|
||||
app.get('/healthz', (_req, res) => res.json({ ok: true }));
|
||||
app.listen(PORT, '0.0.0.0', () => console.log(`tetris-web listening on :${PORT}`));
|
||||
Reference in New Issue
Block a user