Skip to content

Commit

Permalink
url screenshot bugfix for undefined var
Browse files Browse the repository at this point in the history
  • Loading branch information
niczem committed Sep 17, 2023
1 parent 44dc7f3 commit c912ad9
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 c912ad9

Please sign in to comment.