mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-01-11 19:56:44 +00:00
15 lines
399 B
TypeScript
15 lines
399 B
TypeScript
import { ViewsPath } from "./Config";
|
|
import { ExpressResponse } from "CommonServer/Utils/Express";
|
|
|
|
export default class NotFoundUtil {
|
|
public static renderNotFound(res: ExpressResponse): void {
|
|
res.status(404);
|
|
res.render(`${ViewsPath}/not-found.ejs`, {
|
|
footerCards: false,
|
|
support: false,
|
|
cta: false,
|
|
blackLogo: false,
|
|
requestDemoCta: false,
|
|
});
|
|
}
|
|
}
|