Browse Source

Update src/main.ts

Steve Sewell 2 years ago
parent
commit
541545a386
1 changed files with 1 additions and 1 deletions
  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.
     async requestHandler({ request, page, enqueueLinks, log, pushData }) {
 
-      if(config.cookie) {
+      if (config.cookie) {
         // Set the cookie for the specific URL
         const cookie = {
           name: config.cookie.name,