13 lines
442 B
TypeScript
13 lines
442 B
TypeScript
import { serverEnv } from '../../env/server';
|
|
|
|
export const dynamic = 'force-dynamic';
|
|
|
|
// The image's health check: importing the server env validates it, so a release with missing or invalid
|
|
// env answers 500. It calls no back end, so a back-end outage never fails the check.
|
|
export function GET(): Response {
|
|
void serverEnv;
|
|
return new Response('ok', {
|
|
headers: { 'Cache-Control': 'no-store', 'X-Robots-Tag': 'noindex' },
|
|
});
|
|
}
|