From 83d7e1a46536ab0e627753da4f96ca88afc00f53 Mon Sep 17 00:00:00 2001 From: Matiss Jurevics Date: Wed, 28 Jan 2026 14:40:00 +0000 Subject: [PATCH] fix(sim): allow jsdelivr connect and silence favicon 404 --- Backend/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Backend/index.ts b/Backend/index.ts index 7c87acc..3afcf4a 100644 --- a/Backend/index.ts +++ b/Backend/index.ts @@ -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'], }, }, }),