Fixed wrong database being sent

This commit is contained in:
Ajay Ramachandran
2020-04-19 19:22:38 -04:00
committed by GitHub
parent 950b8ecb55
commit 14e21a1009

View File

@@ -85,7 +85,7 @@ app.get('/api/getTotalStats', getTotalStats);
app.get('/api/getdayssavedformatted', getDaysSavedFormatted);
app.get('/database.db', function (req, res) {
res.sendfile("./databases/sponsortimes.db", { root: __dirname });
res.sendFile("./databases/sponsorTimes.db", { root: __dirname });
});
// Create an HTTP service.