More attempts to try to fix problems
All checks were successful
Build and deploy Main Bridgeman Accessible website to QA/Stagging (private Kubernetes cluster) / build (push) Successful in 2m0s
Build and deploy Main Bridgeman Accessible website to QA/Stagging (private Kubernetes cluster) / deploy (push) Successful in 6s

This commit is contained in:
Alan Bridgeman 2025-07-12 16:09:04 -05:00
parent 247aa6c28b
commit a53e679d8f
3 changed files with 6 additions and 6 deletions

View file

@ -61,12 +61,12 @@ export class SEOController extends BaseController {
@GET('/site-map.xml')
private siteMap(req: Request, res: Response) {
res.type('xml');
res.sendFile('src/static/xml/sitemap.xml', { root: __dirname + '/..' });
res.sendFile('static/xml/sitemap.xml', { root: __dirname + '/..' });
}
@GET('/robots.txt')
private robotsTxt(req: Request, res: Response) {
res.type('text/plain');
res.sendFile('src/static/robots.txt', { root: __dirname + '/..' });
res.sendFile('static/robots.txt', { root: __dirname + '/..' });
}
}