Skip to content

Commit

Permalink
Remove console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
zotya committed Mar 13, 2023
1 parent bb2819c commit 09e19bf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/express-middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,8 @@ function generateSitemap(appConfig) {
body._source = {"include": ["about", "last_modified"]};
body.size = 10000;
const urlES = getUrlES('datahub');
console.log(body)
handleSearchRequest(body, { urlES }).then((body) => {
console.log(body)
const items = body?.hits?.hits || [];
console.log(items)

const urls = items.map(
(item) => ` <url>\n <loc>${toPublicURL(item._id)}</loc>\n
Expand Down

0 comments on commit 09e19bf

Please sign in to comment.