|
|
@ -34,6 +34,10 @@ export function app(): express.Express { |
|
|
}), |
|
|
}), |
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
server.get('/.well-known/*', (req, res) => { |
|
|
|
|
|
res.status(404).send('Not found'); |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
// All regular routes use the Angular engine
|
|
|
// All regular routes use the Angular engine
|
|
|
server.use((req, res, next) => { |
|
|
server.use((req, res, next) => { |
|
|
const { protocol, originalUrl, baseUrl, headers } = req; |
|
|
const { protocol, originalUrl, baseUrl, headers } = req; |
|
|
|