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(
'~URL:base~', '~URL:base~',
sprintf( sprintf(
'gemini://%s%s/', 'gemini://%s%s/',
$config->gemini->server->host, $request->getHost(),
$config->gemini->server->port == 1965 ? null : ':' . $config->gemini->server->port $config->gemini->server->port == 1965 ? null : ':' . $config->gemini->server->port
) )
); );

Loading…
Cancel
Save