aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-05-10 13:13:35 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-05-10 13:13:35 -0400
commit464843e773022edc9a6ce6228b88ffb72021fa85 (patch)
treeffd438ce208223b82d552f5db075bbcedff6715f /src
parentf38d2de249ddf2cad533e2f92197738835688a73 (diff)
Fixed search url
Diffstat (limited to 'src')
-rw-r--r--src/client/views/SearchBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/SearchBox.tsx b/src/client/views/SearchBox.tsx
index 9b9735a4b..134201071 100644
--- a/src/client/views/SearchBox.tsx
+++ b/src/client/views/SearchBox.tsx
@@ -54,7 +54,7 @@ export class SearchBox extends React.Component {
@action
getResults = async (query: string) => {
- let response = await rp.get('http://localhost:1050/search', {
+ let response = await rp.get(DocServer.prepend('/search'), {
qs: {
query
}