File tree 1 file changed +3
-13
lines changed
1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change 1
1
/**
2
2
* Packages
3
3
*/
4
- const SmeeClient = require ( 'smee-client' )
5
4
const express = require ( 'express' )
6
5
const expressApp = express ( )
7
6
const path = require ( 'path' )
8
7
const bodyParser = require ( 'body-parser' )
9
8
const {
10
9
verifyWebhookData
11
10
} = require ( './middleware/verifyWebhooks' )
12
-
13
- const smee = new SmeeClient ( {
14
- source : 'https://smee.io/2HBeOiSPS2j4ryR' ,
15
- target : 'http://localhost:3000/events' ,
16
- logger : console
17
- } )
18
-
19
- const events = smee . start ( )
20
-
21
- // Stop forwarding events
22
- events . close ( )
23
11
/**
24
12
* Controllers
25
13
*/
@@ -33,12 +21,14 @@ const {
33
21
const {
34
22
listForSuite
35
23
} = require ( './controllers/checks' )
24
+
36
25
/**
37
26
* Constants
38
27
*/
39
28
const {
40
29
configFileName,
41
- messages
30
+ messages,
31
+ events
42
32
} = require ( './constants.js' )
43
33
const publicDirectory = path . join ( `${ __dirname } ` , 'public' )
44
34
You can’t perform that action at this time.
0 commit comments