aboutsummaryrefslogtreecommitdiff
path: root/src/server/index.ts
diff options
context:
space:
mode:
authorStanley Yip <33562077+yipstanley@users.noreply.github.com>2019-07-30 19:41:09 -0400
committerGitHub <noreply@github.com>2019-07-30 19:41:09 -0400
commit13f45e3c819aaafcff175256ffb8723642c22dca (patch)
tree00e38b12a22dcc52253e2d7c3e35efee42ad80cf /src/server/index.ts
parent80e6356692da7bffaad2efccf01500173c488de0 (diff)
parenta2a73a1ad032979ea6eea06aa65354841e0ef0fa (diff)
Merge pull request #233 from browngraphicslab/text_box_ab
Text box ab
Diffstat (limited to 'src/server/index.ts')
-rw-r--r--src/server/index.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/index.ts b/src/server/index.ts
index 1912cf5c1..cb46698df 100644
--- a/src/server/index.ts
+++ b/src/server/index.ts
@@ -48,6 +48,8 @@ import { DocComponent } from '../client/views/DocComponent';
const MongoStore = require('connect-mongo')(session);
const mongoose = require('mongoose');
const probe = require("probe-image-size");
+var SolrNode = require('solr-node');
+var shell = require('shelljs');
const download = (url: string, dest: fs.PathLike) => request.get(url).pipe(fs.createWriteStream(dest));
let youtubeApiKey: string;
@@ -157,6 +159,7 @@ app.get("/version", (req, res) => {
});
// SEARCH
+const solrURL = "http://localhost:8983/solr/#/dash";
// GETTERS