Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3333699
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
967 B
Referenced Files
None
Subscribers
None
View Options
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
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Nov 23, 4:59 AM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2560018
Default Alt Text
(967 B)
Attached To
Mode
rCOMM Comm
Attached
Detach File
Event Timeline
Log In to Comment