Change "opps!" to "Oops!" in error-handlers.js
This commit is contained in:
@ -22,7 +22,7 @@ export default function prodErrorHandler() {
|
||||
var accept = accepts(req);
|
||||
var type = accept.type('html', 'json', 'text');
|
||||
|
||||
var message = 'opps! Something went wrong. Please try again later';
|
||||
var message = 'Oops! Something went wrong. Please try again later';
|
||||
if (type === 'html') {
|
||||
if (typeof req.flash === 'function') {
|
||||
req.flash('errors', {
|
||||
|
Reference in New Issue
Block a user