23 lines
657 B
JavaScript
23 lines
657 B
JavaScript
const express = require("express");
|
|
const app = express();
|
|
|
|
app.get("/", (req, res) => {
|
|
res.send(`<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>jamesvanboxtel.com</title>
|
|
<style>
|
|
body { margin: 0; display: flex; justify-content: center; align-items: center; min-height: 100vh; font-family: system-ui, sans-serif; background: #fafafa; color: #333; }
|
|
h1 { font-size: 3rem; font-weight: 300; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>jamesvanboxtel.com</h1>
|
|
</body>
|
|
</html>`);
|
|
});
|
|
|
|
app.listen(8080, () => console.log("jamesvanboxtel running on :8080"));
|