Skip to content
Snippets Groups Projects
Commit c55c0c0c authored by dc3357's avatar dc3357
Browse files

Update server.js

parent 63ddc8f2
Branches
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ app.use(express.static('.')); ...@@ -7,7 +7,7 @@ app.use(express.static('.'));
app.use(express.json()); app.use(express.json());
app.get("/getBooks", function(req, res){ app.get("/getBooks", function(req, res){
const db = new sqlite3.Database('./CLCBooks.db'); const db = new sqlite3.Database('./CLCBooks');
console.log('recieved'); console.log('recieved');
let output = ''; let output = '';
db.serialize(function() { db.serialize(function() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment