We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5088b7f commit 108d7aaCopy full SHA for 108d7aa
packages/reputation-miner/ReputationMinerClient.js
@@ -26,7 +26,7 @@ class ReputationMinerClient {
26
});
27
28
this._app.get("/", async (req, res) => {
29
- return res.status(200).send("⛏️ Welcome to the Colony Reputation Miner!");
+ return res.status(200).sendFile(path.join(__dirname, 'viz/index.html'));
30
31
32
// Serve visualizers
packages/reputation-miner/viz/index.html
@@ -0,0 +1,14 @@
1
+<!DOCTYPE html>
2
+<html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>Colony Reputation Miner</title>
6
+ </head>
7
+ <body>
8
+
9
+ <h3>⛏️ Welcome to the Colony Reputation Miner!</h3>
10
11
+ <p><a href="repTree">🌲Tree Visualizer</a> | <a href="repCycle">👷🏽Mining Cycle Explorer</a></p>
12
13
+ </body>
14
+ </html>
0 commit comments