|
@@ -42,7 +42,7 @@ $http_worker->onMessage = static function ($connection) {
|
|
|
return;
|
|
|
|
|
|
case '/fortune':
|
|
|
- Http::header('Content-Type: text/html; charset=utf-8');
|
|
|
+ //Http::header('Content-Type: text/html; charset=utf-8');
|
|
|
$mysql->query('SELECT id,message FROM Fortune',
|
|
|
static function ($command) use ($connection) {
|
|
|
$arr = $command->resultRows;
|