Browse Source

use relative inline links for current host

main
ghost 9 months ago
parent
commit
998de4a899
  1. 7
      src/server.php

7
src/server.php

@ -341,12 +341,7 @@ $server->setHandler(
// Define base URL // Define base URL
$reader->setMacros( $reader->setMacros(
'~URL:base~', '~URL:base~',
sprintf( '/'
'gemini://%s%s/%s',
$config->gemini->server->host,
$config->gemini->server->port == 1965 ? null : ':' . $config->gemini->server->port,
'' // @TODO append relative prefix (:)
)
); );
// Define index menu // Define index menu

Loading…
Cancel
Save