diff --git a/.gitignore b/.gitignore index 72f2a2b..735daa7 100644 --- a/.gitignore +++ b/.gitignore @@ -131,4 +131,6 @@ dist *.db sessions/* -.DS_Store \ No newline at end of file +.DS_Store + +test/* \ No newline at end of file diff --git a/index.js b/index.js index de537d5..982ea1e 100644 --- a/index.js +++ b/index.js @@ -621,7 +621,6 @@ app.get("/api/v1/directory/openBlocks", (req, res) => { pool.query("SELECT block_start, block_length FROM routes").then((rows) => { console.log(JSON.stringify(rows)); // for testing - return; const takenBlocks = rows.map(row => { return { start: row.block_start, end: row.block_start + row.block_length }; }); diff --git a/public/validator/index.html b/public/validator/index.html index f7cfdad..e5246f1 100644 --- a/public/validator/index.html +++ b/public/validator/index.html @@ -50,6 +50,47 @@ + +
Available Blocks | +
---|
Loading... |