Browse Source

use relative url

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

10
src/server.php

@ -96,11 +96,7 @@ $server->setHandler( @@ -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( @@ -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()
)
);

Loading…
Cancel
Save