|
@@ -3,7 +3,11 @@ import express from "express";
|
|
const app = express();
|
|
const app = express();
|
|
|
|
|
|
app.get("/", (req, res) => {
|
|
app.get("/", (req, res) => {
|
|
- res.send(`time:${Math.round(new Date().getTime() / 1000)}`);
|
|
|
|
|
|
+ const lines = [
|
|
|
|
+ `time:${Math.round(new Date().getTime() / 1000)}`,
|
|
|
|
+ `tz:-6`
|
|
|
|
+ ]
|
|
|
|
+ res.send(lines.join('\n'));
|
|
});
|
|
});
|
|
|
|
|
|
app.listen(3000, "0.0.0.0", () => {});
|
|
app.listen(3000, "0.0.0.0", () => {});
|