More attempts to try to fix problems
This commit is contained in:
parent
247aa6c28b
commit
a53e679d8f
3 changed files with 6 additions and 6 deletions
|
|
@ -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 + '/..' });
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue