diff --git a/services/electron-update-server/index.js b/services/electron-update-server/index.js index bdd8edf88..404c0f372 100644 --- a/services/electron-update-server/index.js +++ b/services/electron-update-server/index.js @@ -1,19 +1,20 @@ // @flow import express from 'express'; -import type { $Request, $Response } from 'express'; +// eslint-disable-next-line prettier/prettier +/*:: import type { $Request, $Response } from 'express'; */ import hazel from 'hazel-server'; const hazelServer = hazel({ // Cache refresh interval (in minutes) interval: 15, repository: process.env.HAZEL_REPOSITORY ?? 'comm', - account: process.env.HAZEL_ACCOUNT ?? 'CommE2e', + account: process.env.HAZEL_ACCOUNT ?? 'CommE2E', }); const app = express(); -app.all('*', (req: $Request, res: $Response) => { +app.all('*', (req /*: $Request */, res /*: $Response */) => { hazelServer(req, res); }); app.listen(parseInt(process.env.HAZEL_PORT, 10) || 80);