Migrate Laysense to upstream LaySite 1.4.3 with external site data

This commit is contained in:
2026-11-27 17:47:31 +08:00
parent b8eb9b35eb
commit 1d2cb2ed1e
277 changed files with 9049 additions and 3222 deletions
+4 -2
View File
@@ -1,10 +1,12 @@
<?php
use App\Config\Environment;
return [
'webman' => [
'handler' => Webman\App::class,
'listen' => getenv('LAYSENSE_LISTEN') ?: 'http://127.0.0.1:8787',
'count' => max(1, (int) (getenv('LAYSENSE_WORKERS') ?: 2)),
'listen' => Environment::get('LAYSITE_LISTEN') ?: 'http://127.0.0.1:8787',
'count' => max(1, (int) (Environment::get('LAYSITE_WORKERS') ?: 2)),
'constructor' => [
'requestClass' => App\Http\Request::class,
'logger' => support\Log::channel('default'),