Skip to content

Commit 626da38

Browse files
author
Joshua Zhou
committed
fix
1 parent 4422f5c commit 626da38

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ app.use("/", indexRouter);
127127
app.use("/api", apiRouter);
128128

129129
//Custom error handler
130-
app.use((err, req, res) => {
130+
app.use((err, req, res, next) => {
131131
// log the error...
132132
const status = err.status ? err.status : 500;
133133
const message = err.message ? err.message : "Internal Server Error";

cookies.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
# Netscape HTTP Cookie File
22
# https://curl.se/docs/http-cookies.html
33
# This file was generated by libcurl! Edit at your own risk.
4-

0 commit comments

Comments
 (0)