forked from laysense/laysense.cn
16 lines
455 B
PHP
16 lines
455 B
PHP
<?php
|
|
|
|
return [
|
|
'webman' => [
|
|
'handler' => Webman\App::class,
|
|
'listen' => getenv('LAYSENSE_LISTEN') ?: 'http://127.0.0.1:8787',
|
|
'count' => max(1, (int) (getenv('LAYSENSE_WORKERS') ?: 2)),
|
|
'constructor' => [
|
|
'requestClass' => support\Request::class,
|
|
'logger' => support\Log::channel('default'),
|
|
'appPath' => app_path(),
|
|
'publicPath' => public_path(),
|
|
],
|
|
],
|
|
];
|