fixing MONGO BUG
This commit is contained in:
parent
e04a9dd3b1
commit
0a053ba249
2 changed files with 3 additions and 2 deletions
|
@ -21,12 +21,12 @@ services:
|
|||
- MONGO_INITDB_ROOT_USERNAME=${MONGO_USERNAME}
|
||||
- MONGO_INITDB_ROOT_PASSWORD=${MONGO_PASSWORD}
|
||||
volumes:
|
||||
- dbdata:/data/db
|
||||
- new:/data/db
|
||||
networks:
|
||||
- appnet
|
||||
networks:
|
||||
appnet:
|
||||
driver: bridge
|
||||
volumes:
|
||||
dbdata:
|
||||
new:
|
||||
driver: local
|
||||
|
|
|
@ -59,6 +59,7 @@ export class CrawlerService {
|
|||
const urls = await page.$$eval('a', links => links.map(link => link.href));
|
||||
const urlsList = urls.filter((url) => url.startsWith('http'));
|
||||
console.log(urlsList);
|
||||
// URLS //
|
||||
|
||||
await browser.close();
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue