From fedba26525c92fbdd37f87ecce6e07a53eabbc9d Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Mon, 15 May 2023 23:17:59 +0200 Subject: [PATCH] fix lint --- backend/src/server.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/src/server.js b/backend/src/server.js index d7908cd46..86cc2a753 100644 --- a/backend/src/server.js +++ b/backend/src/server.js @@ -84,7 +84,9 @@ const createServer = (options) => { app.set('driver', driver) // TODO: this exception is required for the graphql playground, since the playground loads external resources // See: https://github.com/graphql/graphql-playground/issues/1283 - app.use(helmet(CONFIG.DEBUG && { contentSecurityPolicy: false, crossOriginEmbedderPolicy: false })) + app.use( + helmet(CONFIG.DEBUG && { contentSecurityPolicy: false, crossOriginEmbedderPolicy: false }), + ) app.use('/.well-known/', webfinger()) app.use(express.static('public')) app.use(bodyParser.json({ limit: '10mb' }))