fix(sim): allow jsdelivr connect and silence favicon 404

This commit is contained in:
2026-01-28 14:40:00 +00:00
parent f6d3b8a551
commit 83d7e1a465

View File

@@ -35,6 +35,10 @@ app.get('/', (_req, res) => {
res.send('API is running');
});
app.get('/favicon.ico', (_req, res) => {
res.status(204).end();
});
app.get('/openapi.json', (_req, res) => {
res.json(openApiDocument);
});
@@ -48,6 +52,7 @@ app.use(
contentSecurityPolicy: {
directives: {
scriptSrc: ["'self'", 'https://cdn.jsdelivr.net'],
connectSrc: ["'self'", 'https://cdn.jsdelivr.net'],
},
},
}),