diff options
author | Monika <monika_hedman@brown.edu> | 2019-06-26 14:54:46 -0400 |
---|---|---|
committer | Monika <monika_hedman@brown.edu> | 2019-06-26 14:54:46 -0400 |
commit | 5c17508a78d52fef355f2a71b12d59b027535a0d (patch) | |
tree | 29548e2adb570572744f12fc99eda22a723bdb01 /src/server/index.ts | |
parent | 943ee465b4179705257a106948a35c2ef85fa671 (diff) |
need to look at master
Diffstat (limited to 'src/server/index.ts')
-rw-r--r-- | src/server/index.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/index.ts b/src/server/index.ts index e645e29b4..9d5bfcc93 100644 --- a/src/server/index.ts +++ b/src/server/index.ts @@ -43,6 +43,7 @@ import { Response } from 'express-serve-static-core'; const MongoStore = require('connect-mongo')(session); const mongoose = require('mongoose'); const probe = require("probe-image-size"); +var shell = require('shelljs'); const download = (url: string, dest: fs.PathLike) => request.get(url).pipe(fs.createWriteStream(dest)); @@ -139,6 +140,8 @@ app.get("/pull", (req, res) => })); // SEARCH +const solrURL = "http://localhost:8983/solr/#/dash"; +shell.echo("sorry this requires git") // GETTERS |