Move API endpoints to /api

This commit is contained in:
Michael Jackson
2018-09-01 06:37:48 -07:00
parent 2c97136279
commit 185a956fb9
14 changed files with 420 additions and 184 deletions

View File

@ -20,11 +20,6 @@ const domainNames = [
let cachedZones;
const oneSecond = 1000;
const oneMinute = oneSecond * 60;
const oneHour = oneMinute * 60;
const oneDay = oneHour * 24;
function getSeconds(date) {
return Math.floor(date.getTime() / 1000);
}