Skip to content

best way to save what you love

core/api: remove unnecessary Math.floor for timestamp

wukkoc22d76444b00
diff --git a/src/core/api.js b/src/core/api.js
index 8b3dec0e..05d20511 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']);