| @@ -80,9 +80,9 @@ | ||
| 80 | 80 | if ($rateLimiter->isRateLimited($clientIdentifier)) { |
| 81 | 81 | return false; |
| 82 | 82 | } |
| 83 | 83 | |
| 84 | - $endpoint = ''; | |
| 84 | + $endpoint = 'cache/request'; | |
| 85 | 85 | |
| 86 | 86 | try { |
| 87 | 87 | $requests = function ($post_data_arr) use ($endpoint) { |
| 88 | 88 | foreach ($post_data_arr as $post_data) { |
| @@ -116,9 +116,8 @@ | ||
| 116 | 116 | } |
| 117 | 117 | |
| 118 | 118 | function store_cache($page_url, $html) |
| 119 | 119 | { |
| 120 | - | |
| 121 | 120 | // Create the cache directory if it doesn't exist |
| 122 | 121 | if (!file_exists($this->cache_directory)) { |
| 123 | 122 | mkdir($this->cache_directory, 0755, true); |
| 124 | 123 | } |