diff --git a/App/FeatureSet/ApiReference/Service/Status.ts b/App/FeatureSet/ApiReference/Service/Status.ts index 92a027ea18..102949302a 100644 --- a/App/FeatureSet/ApiReference/Service/Status.ts +++ b/App/FeatureSet/ApiReference/Service/Status.ts @@ -2,7 +2,8 @@ import { ViewsPath } from "../Utils/Config"; import ResourceUtil, { ModelDocumentation } from "../Utils/Resources"; import { ExpressRequest, ExpressResponse } from "Common/Server/Utils/Express"; -const resources: Array = ResourceUtil.getResources(); // Get resources from ResourceUtil +// Retrieve resources from ResourceUtil +const resources: Array = ResourceUtil.getResources(); export default class ServiceHandler { public static async executeResponse( @@ -11,8 +12,9 @@ export default class ServiceHandler { ): Promise { // Set HTTP status to 200 res.status(200); + + // Render index page with necessary data return res.render(`${ViewsPath}/pages/index`, { - // Render index page with necessary data page: "status", pageTitle: "Status", pageDescription: "200 - Success",