metron-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmerri...@apache.org
Subject metron git commit: METRON-1267 Alerts UI returns a 404 when refreshing the alerts-list page (merrimanr) closes apache/metron#808
Date Fri, 20 Oct 2017 18:47:43 GMT
Repository: metron
Updated Branches:
  refs/heads/master 32a0a9da8 -> aee018476


METRON-1267 Alerts UI returns a 404 when refreshing the alerts-list page (merrimanr) closes
apache/metron#808


Project: http://git-wip-us.apache.org/repos/asf/metron/repo
Commit: http://git-wip-us.apache.org/repos/asf/metron/commit/aee01847
Tree: http://git-wip-us.apache.org/repos/asf/metron/tree/aee01847
Diff: http://git-wip-us.apache.org/repos/asf/metron/diff/aee01847

Branch: refs/heads/master
Commit: aee018476ab11c1728c69703c545bae56b5a9827
Parents: 32a0a9d
Author: merrimanr <merrimanr@gmail.com>
Authored: Fri Oct 20 13:47:32 2017 -0500
Committer: merrimanr <merrimanr@apache.org>
Committed: Fri Oct 20 13:47:32 2017 -0500

----------------------------------------------------------------------
 metron-interface/metron-alerts/scripts/alerts-server.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/metron/blob/aee01847/metron-interface/metron-alerts/scripts/alerts-server.js
----------------------------------------------------------------------
diff --git a/metron-interface/metron-alerts/scripts/alerts-server.js b/metron-interface/metron-alerts/scripts/alerts-server.js
index 8c0025b..a6ef528 100644
--- a/metron-interface/metron-alerts/scripts/alerts-server.js
+++ b/metron-interface/metron-alerts/scripts/alerts-server.js
@@ -68,7 +68,7 @@ app.use(serveStatic(path.join(__dirname, '../alerts-ui'), {
 }));
 
 app.get('*', function(req, res){
-  res.sendFile(path.resolve('../alerts-ui/index.html'));
+  res.sendFile(path.join('../alerts-ui/index.html'));
 });
 
 app.listen(uiConfig.port, function(){


Mime
View raw message