|
@@ -3,7 +3,7 @@ import express from "express";
|
|
const app = express();
|
|
const app = express();
|
|
|
|
|
|
app.get("/", (req, res) => {
|
|
app.get("/", (req, res) => {
|
|
- res.send(`time:${new Date().getTime()}`);
|
|
|
|
|
|
+ res.send(`time:${Math.round(new Date().getTime() / 1000)}`);
|
|
});
|
|
});
|
|
|
|
|
|
app.listen(3000, "0.0.0.0", () => {});
|
|
app.listen(3000, "0.0.0.0", () => {});
|