1
0
mirror of https://github.com/zumbiepig/MineXLauncher.git synced 2025-06-08 08:14:48 +00:00
MineXLauncher/server.js
2024-08-16 22:04:25 -07:00

12 lines
268 B
JavaScript
Executable File

import express from 'express';
import path from 'path';
const app = express();
const port = process.env.PORT || 3000;
app.use(express.static(path.join(import.meta.dirname, 'public')));
app.listen(port, () => {
console.log(`Server is running on port ${port}`);
});