Change "Server Error" to "Internal Error"

We don't want to use the word _server_ if we are promoting **serverless**
This commit is contained in:
Steven 2019-02-09 20:04:45 -05:00 committed by GitHub
parent 320888f3a8
commit 1bbd019d56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ export default async function handler(req: IncomingMessage, res: ServerResponse)
} catch (e) {
res.statusCode = 500;
res.setHeader('Content-Type', 'text/html');
res.end('<h1>Server Error</h1><p>Sorry, there was a problem</p>');
res.end('<h1>Internal Error</h1><p>Sorry, there was a problem</p>');
console.error(e);
}
}