Browse Source

use relative url

main
ghost 8 months ago
parent
commit
4741d936e0
  1. 10
      src/server.php

10
src/server.php

@ -96,11 +96,7 @@ $server->setHandler(
); );
$response->setMeta( $response->setMeta(
sprintf( '/'
'gemini://%s%s/',
$config->geminiapp->server->host,
$config->geminiapp->server->port == 1965 ? null : ':' . $config->geminiapp->server->port
)
); );
break; break;
@ -479,9 +475,7 @@ $server->setHandler(
$response->setMeta( $response->setMeta(
sprintf( sprintf(
'gemini://%s%s/?search=%s', '/?search=%s',
$config->geminiapp->server->host,
$config->geminiapp->server->port == 1965 ? null : ':' . $config->geminiapp->server->port,
$request->getQuery() $request->getQuery()
) )
); );

Loading…
Cancel
Save