change this line in /public/index.php
echo $application->handle($_SERVER['REQUEST_URI'])->getContent();
to
echo $application->handle($_GET['_url'] ?? '/')->getContent();
also change baseUri
in /app/config/config.php
to
preg_replace('/public([/\\])index.php$/', '', $_SERVER["PHP_SELF"])
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…