mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 15:24:55 +00:00
16 lines
400 B
TypeScript
16 lines
400 B
TypeScript
import { ViewsPath } from "./Config";
|
|
import { ExpressResponse } from "Common/Server/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,
|
|
});
|
|
}
|
|
}
|