diff --git a/src/server.php b/src/server.php index e6e50fd..2c7b376 100644 --- a/src/server.php +++ b/src/server.php @@ -96,11 +96,7 @@ $server->setHandler( ); $response->setMeta( - sprintf( - 'gemini://%s%s/', - $config->geminiapp->server->host, - $config->geminiapp->server->port == 1965 ? null : ':' . $config->geminiapp->server->port - ) + '/' ); break; @@ -479,9 +475,7 @@ $server->setHandler( $response->setMeta( sprintf( - 'gemini://%s%s/?search=%s', - $config->geminiapp->server->host, - $config->geminiapp->server->port == 1965 ? null : ':' . $config->geminiapp->server->port, + '/?search=%s', $request->getQuery() ) );