Sync
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'sandbox_mode' => env('SANDBOX_MODE', false),
|
||||
|
||||
'login' => env('DATAFORSEO_LOGIN', 'login'),
|
||||
|
||||
'password' => env('DATAFORSEO_PASSWORD', 'password'),
|
||||
@@ -11,4 +14,6 @@
|
||||
|
||||
'url' => 'https://api.dataforseo.com',
|
||||
|
||||
'sandbox_url' => 'https://sandbox.dataforseo.com',
|
||||
|
||||
];
|
||||
|
||||
19
config/platform/uploads.php
Normal file
19
config/platform/uploads.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'ai_tools' => [
|
||||
|
||||
'screenshot' => [
|
||||
|
||||
'path' => '/ai_tool/screenshot/',
|
||||
|
||||
'driver' => 'r2',
|
||||
|
||||
'file_prefix' => '',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
94
config/responsecache.php
Normal file
94
config/responsecache.php
Normal file
@@ -0,0 +1,94 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
* Determine if the response cache middleware should be enabled.
|
||||
*/
|
||||
'enabled' => env('RESPONSE_CACHE_ENABLED', true),
|
||||
|
||||
/*
|
||||
* The given class will determinate if a request should be cached. The
|
||||
* default class will cache all successful GET-requests.
|
||||
*
|
||||
* You can provide your own class given that it implements the
|
||||
* CacheProfile interface.
|
||||
*/
|
||||
'cache_profile' => Spatie\ResponseCache\CacheProfiles\CacheAllSuccessfulGetRequests::class,
|
||||
|
||||
/*
|
||||
* Optionally, you can specify a header that will force a cache bypass.
|
||||
* This can be useful to monitor the performance of your application.
|
||||
*/
|
||||
'cache_bypass_header' => [
|
||||
'name' => env('CACHE_BYPASS_HEADER_NAME', null),
|
||||
'value' => env('CACHE_BYPASS_HEADER_VALUE', null),
|
||||
],
|
||||
|
||||
/*
|
||||
* When using the default CacheRequestFilter this setting controls the
|
||||
* default number of seconds responses must be cached.
|
||||
*/
|
||||
'cache_lifetime_in_seconds' => env('RESPONSE_CACHE_LIFETIME', 60 * 60 * 24 * 7),
|
||||
|
||||
/*
|
||||
* This setting determines if a http header named with the cache time
|
||||
* should be added to a cached response. This can be handy when
|
||||
* debugging.
|
||||
*/
|
||||
'add_cache_time_header' => env('APP_DEBUG', false),
|
||||
|
||||
/*
|
||||
* This setting determines the name of the http header that contains
|
||||
* the time at which the response was cached
|
||||
*/
|
||||
'cache_time_header_name' => env('RESPONSE_CACHE_HEADER_NAME', 'laravel-responsecache'),
|
||||
|
||||
/*
|
||||
* This setting determines if a http header named with the cache age
|
||||
* should be added to a cached response. This can be handy when
|
||||
* debugging.
|
||||
* ONLY works when "add_cache_time_header" is also active!
|
||||
*/
|
||||
'add_cache_age_header' => env('RESPONSE_CACHE_AGE_HEADER', false),
|
||||
|
||||
/*
|
||||
* This setting determines the name of the http header that contains
|
||||
* the age of cache
|
||||
*/
|
||||
'cache_age_header_name' => env('RESPONSE_CACHE_AGE_HEADER_NAME', 'laravel-responsecache-age'),
|
||||
|
||||
/*
|
||||
* Here you may define the cache store that should be used to store
|
||||
* requests. This can be the name of any store that is
|
||||
* configured in app/config/cache.php
|
||||
*/
|
||||
'cache_store' => env('RESPONSE_CACHE_DRIVER', 'file'),
|
||||
|
||||
/*
|
||||
* Here you may define replacers that dynamically replace content from the response.
|
||||
* Each replacer must implement the Replacer interface.
|
||||
*/
|
||||
'replacers' => [
|
||||
\Spatie\ResponseCache\Replacers\CsrfTokenReplacer::class,
|
||||
],
|
||||
|
||||
/*
|
||||
* If the cache driver you configured supports tags, you may specify a tag name
|
||||
* here. All responses will be tagged. When clearing the responsecache only
|
||||
* items with that tag will be flushed.
|
||||
*
|
||||
* You may use a string or an array here.
|
||||
*/
|
||||
'cache_tag' => '',
|
||||
|
||||
/*
|
||||
* This class is responsible for generating a hash for a request. This hash
|
||||
* is used to look up a cached response.
|
||||
*/
|
||||
'hasher' => \Spatie\ResponseCache\Hasher\DefaultHasher::class,
|
||||
|
||||
/*
|
||||
* This class is responsible for serializing responses.
|
||||
*/
|
||||
'serializer' => \Spatie\ResponseCache\Serializers\DefaultSerializer::class,
|
||||
];
|
||||
Reference in New Issue
Block a user