Skip to content

Commit 8261ee8

Browse files
committed
Calling end, perhaps performance boost?
1 parent 6a54723 commit 8261ee8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ app.get('/', (req, res) => {
66
res
77
.set('x-powered-by', 'cyclic.sh')
88
.send('Hello World!')
9+
.end()
910
})
1011

1112
app.use('*', (req,res) => {
@@ -23,6 +24,7 @@ app.use('*', (req,res) => {
2324
headers: req.headers,
2425
cookies: req.cookies,
2526
})
27+
.end()
2628
})
2729

2830
module.exports.app = app

0 commit comments

Comments
 (0)