Skip to content

Commit

Permalink
remove the search scrape endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
chrimesdev committed Dec 13, 2019
1 parent d0cd294 commit a269d51
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,6 @@ app.get('/service-manual/robots.txt', (_, res) => {
res.render('robots.txt');
});

// Reindex the search results
app.get('/service-manual/scrape', (_, res) => {
pageIndex.init();
});

// Render 404 page
app.get('*', (_, res) => {
res.statusCode = 404;
Expand Down

0 comments on commit a269d51

Please sign in to comment.