From 4801360a511d2a36cdcac893632863189736b4a5 Mon Sep 17 00:00:00 2001 From: ghost Date: Sat, 6 May 2023 13:55:05 +0300 Subject: [PATCH] update api version --- config/app.php.txt | 2 +- public/api.php | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/app.php.txt b/config/app.php.txt index 78011cf..00cdccb 100644 --- a/config/app.php.txt +++ b/config/app.php.txt @@ -296,7 +296,7 @@ define('CRAWL_MANIFEST', true); * Manifest API version compatibility * */ -define('CRAWL_MANIFEST_API_VERSION', 0.4); +define('CRAWL_MANIFEST_API_VERSION', 0.5); /* * Set default auto-crawl status for new manifest added diff --git a/public/api.php b/public/api.php index 4486c37..208e949 100644 --- a/public/api.php +++ b/public/api.php @@ -1,7 +1,7 @@ CRAWL_HOST_DEFAULT_STATUS, 'crawlHostDefaultMetaOnly' => CRAWL_HOST_DEFAULT_META_ONLY, 'crawlHostPageSecondsOffset' => CRAWL_PAGE_SECONDS_OFFSET, + 'crawlHostPageMimeType' => CRAWL_PAGE_MIME_TYPE, 'crawlHostImageSecondsOffset' => CRAWL_IMAGE_SECONDS_OFFSET, + 'crawlHostImageMimeType' => CRAWL_IMAGE_MIME_TYPE, 'cleanHostSecondsOffset' => CLEAN_HOST_SECONDS_OFFSET, 'crawlRobotsDefaultRules' => CRAWL_ROBOTS_DEFAULT_RULES, 'crawlRobotsPostfixRules' => CRAWL_ROBOTS_POSTFIX_RULES,