derv-net/index.js
2025-02-26 16:37:48 -05:00

16 lines
No EOL
316 B
JavaScript

import express from "express";
import { doInit } from "./routes/init.js";
const app = express()
const port = 3000;
app.set('view engine', 'ejs');
app.enable('view cache');
app.listen(port, () => {
console.log(`Example app listening on port ${port}`)
})
doInit(app);
// TODO: rate limit stuff and fix long urls