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'], }, }, }),