aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-05-21 15:21:15 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-05-21 15:21:15 +0200
commitcd0e4b1acfbd4cc393f6cfcab718d66e25193fbd (patch)
treef34d2642d33dd6fd8e864b101db13906d146f346 /server.js
parent9e379c835c2badfe8e9088e25870af0a6a8c4d40 (diff)
downloadPeerTube-cd0e4b1acfbd4cc393f6cfcab718d66e25193fbd.tar.gz
PeerTube-cd0e4b1acfbd4cc393f6cfcab718d66e25193fbd.tar.zst
PeerTube-cd0e4b1acfbd4cc393f6cfcab718d66e25193fbd.zip
Move livereload to an external script and remove from express.
Developers have to use the livereload plugin in their web browser now.
Diffstat (limited to 'server.js')
-rw-r--r--server.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/server.js b/server.js
index 989c60477..024ce10f8 100644
--- a/server.js
+++ b/server.js
@@ -56,11 +56,6 @@ app.use(expressValidator({
56 56
57// ----------- Views, routes and static files ----------- 57// ----------- Views, routes and static files -----------
58 58
59// Livereload
60app.use(require('connect-livereload')({
61 port: 35729
62}))
63
64// Catch sefaults 59// Catch sefaults
65require('segfault-handler').registerHandler() 60require('segfault-handler').registerHandler()
66 61