Skip to content

Commit

Permalink
Feat: change method name again
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-osch committed Jan 15, 2025
1 parent bfd54bf commit 3f84d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ app.get("/404", (req, res) => {
app.use(express.static(__dirname + "/vue/dist"));

app.get("/api/books", (req, res) => {
if (fs.existsSynchronously("downtime.json")) {
if (fs.existsSync("downtime.json")) {
console.log('Downtime detected');
res.status(500).send();
} else {
Expand Down

0 comments on commit 3f84d94

Please sign in to comment.