show 404 path to debug github action
parent
afa96056e8
commit
2b4770a8da
2
app.js
2
app.js
|
|
@ -148,6 +148,6 @@ app.get(urlPrefix + '/logout', (request, response) => {
|
|||
});
|
||||
app.use((request, _response, next) => {
|
||||
debugApp(request.url);
|
||||
next(createError(404, 'File not found.'));
|
||||
next(createError(404, 'File not found: ' + request.url));
|
||||
});
|
||||
export default app;
|
||||
|
|
|
|||
2
app.ts
2
app.ts
|
|
@ -277,7 +277,7 @@ app.get(urlPrefix + '/logout', (request, response) => {
|
|||
// Catch 404 and forward to error handler
|
||||
app.use((request, _response, next) => {
|
||||
debugApp(request.url)
|
||||
next(createError(404, 'File not found.'))
|
||||
next(createError(404, 'File not found: ' + request.url))
|
||||
})
|
||||
|
||||
export default app
|
||||
|
|
|
|||
Loading…
Reference in New Issue