mirror of
https://github.com/FlipsideCrypto/og-image.git
synced 2026-02-06 10:46:43 +00:00
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:
parent
320888f3a8
commit
1bbd019d56
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user