mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-10 13:37:01 +03:00
Fixed wrong database being sent
This commit is contained in:
committed by
GitHub
parent
950b8ecb55
commit
14e21a1009
@@ -85,7 +85,7 @@ app.get('/api/getTotalStats', getTotalStats);
|
|||||||
app.get('/api/getdayssavedformatted', getDaysSavedFormatted);
|
app.get('/api/getdayssavedformatted', getDaysSavedFormatted);
|
||||||
|
|
||||||
app.get('/database.db', function (req, res) {
|
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.
|
// Create an HTTP service.
|
||||||
|
|||||||
Reference in New Issue
Block a user