We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8c3c63 commit db2a69cCopy full SHA for db2a69c
src/responses/index.js
@@ -34,7 +34,7 @@ export function get404(message = '') {
34
}
35
36
export function get401(message = DEFAULT_UNAUTHORIZED_HTML_MESSAGE) {
37
- return daResp({ body: message, status: 404, contentType: 'text/html' });
+ return daResp({ body: message, status: 401, contentType: 'text/html' });
38
39
40
export function getRobots() {
0 commit comments