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 (iraghumitra via merrimanr) closes apache/metron#819
Date Mon, 30 Oct 2017 18:10:18 GMT
Repository: metron
Updated Branches:
  refs/heads/master 2488842bd -> e5b0d7c14


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


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

Branch: refs/heads/master
Commit: e5b0d7c1495c69932261c034e5339eb87c83faad
Parents: 2488842
Author: iraghumitra <raghumitra.ksv@gmail.com>
Authored: Mon Oct 30 13:10:07 2017 -0500
Committer: merrimanr <merrimanr@apache.org>
Committed: Mon Oct 30 13:10:07 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/e5b0d7c1/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 a6ef528..716f37b 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.join('../alerts-ui/index.html'));
+  res.sendFile(path.join(__dirname, '../alerts-ui/index.html'));
 });
 
 app.listen(uiConfig.port, function(){


Mime
View raw message