Move API endpoints to /api
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user