From e029894909472ba3c69d5ebf6b48e2f5212e3d0c Mon Sep 17 00:00:00 2001 From: ghost Date: Thu, 1 Feb 2024 18:28:41 +0200 Subject: [PATCH] fix response --- src/server.php | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/server.php b/src/server.php index 0fad2cc..2aed2d2 100644 --- a/src/server.php +++ b/src/server.php @@ -192,15 +192,12 @@ $server->setHandler( // Append about info $lines[] = $config->string->about; - // Merge data lines - $data = implode( - PHP_EOL, - $lines - ); - - // Return converted response + // Response $response->setContent( - $gemini . $data + implode( + PHP_EOL, + $lines + ) ); return $response;