changeset 202:70ac564886ab

Remove call of next handler for gatewayurl Reviewed-by: aazores Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2017-September/025053.html
author Jie Kang <jkang@redhat.com>
date Thu, 14 Sep 2017 15:23:46 -0400
parents 0dc8909dd90e
children 55b433cf6922
files server.js webpack.config.js
diffstat 2 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/server.js	Thu Sep 14 07:52:04 2017 -0400
+++ b/server.js	Thu Sep 14 15:23:46 2017 -0400
@@ -49,5 +49,4 @@
 app.get('/gatewayurl', function (req, res, next) {
   res.setHeader('Content-Type', 'application/json');
   res.send(JSON.stringify({ gatewayUrl: 'http://localhost:8888/' }));
-  next();
 });
--- a/webpack.config.js	Thu Sep 14 07:52:04 2017 -0400
+++ b/webpack.config.js	Thu Sep 14 15:23:46 2017 -0400
@@ -162,7 +162,6 @@
       app.get('/gatewayurl', function (req, res, next) {
         res.setHeader('Content-Type', 'application/json');
         res.send(JSON.stringify({ gatewayUrl: 'http://localhost:8888/' }));
-        next();
       });
     }
   };