diff options
author | HampusM <hampus@hampusmat.com> | 2021-04-17 22:45:12 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2021-04-17 22:45:12 +0200 |
commit | 15992970bc9d3eec402f6d85e40236e3095f0fc0 (patch) | |
tree | dd4bc2672d468b7ec74b41d089dae3b4ea4ed9f2 /app.js | |
parent | 7ec5335b7893bd35fa2fa345e5c88ee5dbd5a656 (diff) |
Finished repos api endpoint, created complete repos page & removed dist dir
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,12 +1,14 @@ const express = require("express"); const api = require("./api/v1"); -const differenceInDays = require('date-fns/differenceInDays') +/* const now = new Date(); const commit = new Date(1611497751 * 1000); console.log(now); console.log(commit) console.log(differenceInDays(now, commit)); +*/ + const app = express(); app.use("/api/v1", api); app.listen(1337);
\ No newline at end of file |