Przeglądaj źródła

Update src/main.ts

Steve Sewell 2 lat temu
rodzic
commit
541545a386
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/main.ts

+ 1 - 1
src/main.ts

@@ -19,7 +19,7 @@ if (process.env.NO_CRAWL !== "true") {
     // Use the requestHandler to process each of the crawled pages.
     // Use the requestHandler to process each of the crawled pages.
     async requestHandler({ request, page, enqueueLinks, log, pushData }) {
     async requestHandler({ request, page, enqueueLinks, log, pushData }) {
 
 
-      if(config.cookie) {
+      if (config.cookie) {
         // Set the cookie for the specific URL
         // Set the cookie for the specific URL
         const cookie = {
         const cookie = {
           name: config.cookie.name,
           name: config.cookie.name,