浏览代码

Update src/main.ts

Steve Sewell 2 年之前
父节点
当前提交
541545a386
共有 1 个文件被更改,包括 1 次插入1 次删除
  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,