Page MenuHomePhabricator

No OneTemporary

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);

File Metadata

Mime Type
text/x-diff
Expires
Sat, Nov 23, 4:59 AM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2560018
Default Alt Text
(967 B)

Event Timeline