From c22d76444b0067fbcd790d22b1a6b453214c0f85 Mon Sep 17 00:00:00 2001 From: wukko Date: Tue, 5 Mar 2024 20:41:33 +0600 Subject: [PATCH] core/api: remove unnecessary Math.floor for timestamp --- src/core/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/api.js b/src/core/api.js index 8b3dec0..05d2051 100644 --- a/src/core/api.js +++ b/src/core/api.js @@ -47,7 +47,7 @@ export function runAPI(express, app, gitCommit, gitBranch, __dirname) { }); const startTime = new Date(); - const startTimestamp = Math.floor(startTime.getTime()); + const startTimestamp = startTime.getTime(); app.set('trust proxy', ['loopback', 'uniquelocal']);