mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-17 15:35:58 +00:00
wip
This commit is contained in:
@@ -33,7 +33,7 @@ return [
|
|||||||
| Feel free to host your own server and change this value.
|
| Feel free to host your own server and change this value.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
'host' => 'expose.dev',
|
'host' => 'sharedwithexpose.com',
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
@@ -75,6 +75,70 @@ return [
|
|||||||
*/
|
*/
|
||||||
'default_tld' => 'test',
|
'default_tld' => 'test',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Maximum Logged Requests
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The maximum number if requests to keep in memory when inspecting your
|
||||||
|
| requests and responses in the local dashboard.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
'max_logged_requests' => 25,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Maximum Allowed Memory
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The maximum memory allocated to the expose process.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
'memory_limit' => '128M',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Maximum Allowed Memory
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Sometimes, some responses don't need to be logged. Some are too big,
|
||||||
|
| some can't be read (like compiled assets). This configuration allows you
|
||||||
|
| to be as granular as you wish when logging the responses.
|
||||||
|
|
|
||||||
|
| If you run constantly out of memory, you probably need to set some of these up.
|
||||||
|
|
|
||||||
|
| Keep in mind, by default, BINARY requests/responses are not logged.
|
||||||
|
| You do not need to add video/mp4 for example to this list.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
'skip_body_log' => [
|
||||||
|
/**
|
||||||
|
| Skip response logging by HTTP response code. Format: 4*, 5*
|
||||||
|
*/
|
||||||
|
'status' => [
|
||||||
|
// "4*"
|
||||||
|
],
|
||||||
|
/**
|
||||||
|
| Skip response logging by HTTP response content type. Ex: "text/css"
|
||||||
|
*/
|
||||||
|
'content_type' => [
|
||||||
|
//
|
||||||
|
],
|
||||||
|
/**
|
||||||
|
| Skip response logging by file extension. Ex: ".js.map", ".min.js", ".min.css"
|
||||||
|
*/
|
||||||
|
'extension' => [
|
||||||
|
'.js.map',
|
||||||
|
'.css.map',
|
||||||
|
],
|
||||||
|
/**
|
||||||
|
| Skip response logging if response size is greater than configured value.
|
||||||
|
| Valid suffixes are: B, KB, MB, GB.
|
||||||
|
| Ex: 500B, 1KB, 2MB, 3GB
|
||||||
|
*/
|
||||||
|
'size' => '1MB',
|
||||||
|
],
|
||||||
|
|
||||||
'admin' => [
|
'admin' => [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -87,7 +151,11 @@ return [
|
|||||||
| if you enable authentication token validation.
|
| if you enable authentication token validation.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
'database' => base_path('database/expose.db'),
|
'database' => implode(DIRECTORY_SEPARATOR, [
|
||||||
|
$_SERVER['HOME'] ?? __DIR__,
|
||||||
|
'.expose',
|
||||||
|
'expose.db'
|
||||||
|
]),
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
@@ -185,5 +253,4 @@ return [
|
|||||||
]
|
]
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user