-
+
- {navButton('Charts', '/charts')}
- {navButton('Tables', '/tables')}
+ {navButton('Charts', apiDir + 'charts')}
+ {navButton('Tables', apiDir + 'tables')}
diff --git a/src/ServerTable.tsx b/src/ServerTable.tsx
index 6cfd771..c0f30e0 100644
--- a/src/ServerTable.tsx
+++ b/src/ServerTable.tsx
@@ -3,6 +3,7 @@ import { Tips } from "./Utils";
import * as _ from 'lodash';
import { Button } from 'bloomer';
// const randomColor = require('randomcolor');
+import { apiDir } from './Config';
const reactcsv = require('react-csv');
const CSVLink = reactcsv.CSVLink;
import * as Papa from 'papaparse';
@@ -27,7 +28,7 @@ export default class ServerTable extends React.Component