Browse Source

return hostname from request

main
ghost 11 months ago
parent
commit
0c59290bd9
  1. 2
      src/server.php

2
src/server.php

@ -362,7 +362,7 @@ $server->setHandler( @@ -362,7 +362,7 @@ $server->setHandler(
'~URL:base~',
sprintf(
'gemini://%s%s/',
$config->gemini->server->host,
$request->getHost(),
$config->gemini->server->port == 1965 ? null : ':' . $config->gemini->server->port
)
);

Loading…
Cancel
Save