Skip to content

Commit

Permalink
url screenshot bugfix for undefined var (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
niczem committed Nov 8, 2023
1 parent 21cd626 commit 87e1932
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion datasources/urlscreenshot/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ module.exports = class Datasource extends Worker {
Fs.mkdirSync(download_path);
console.log('created dir ' + download_path);
}

urls = [];
for (let i in urls) {
let url = urls[i];
url = url.slice(0, -1);
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
version: '3.7'

services:
trawler_web:
container_name: trawler.web
trawler:
container_name: trawler
entrypoint: npm --prefix /app/trawler run serve
ports:
- 8080:8080
Expand Down

0 comments on commit 87e1932

Please sign in to comment.