aboutsummaryrefslogtreecommitdiff
path: root/src/server/index.ts
diff options
context:
space:
mode:
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