Remover slash generaba conflictos con certificados (#3)
Reviewed-on: #3 Co-authored-by: Luciano Giacchetta <giacchetta-@outlook.com> Co-committed-by: Luciano Giacchetta <giacchetta-@outlook.com>
This commit is contained in:
parent
d91c1d13ff
commit
12fb2cef46
@ -17,7 +17,7 @@ app.enable('trust proxy');
|
||||
app.disable('x-powered-by');
|
||||
app.set('etag', false);
|
||||
|
||||
app.get('/{*splat}', (req: Request, res: Response) => {
|
||||
app.get('/', (req: Request, res: Response) => {
|
||||
res.setHeader("Cache-Control", "public, max-age=14400");
|
||||
res.sendStatus(200);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user