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( @@ -341,12 +341,7 @@ $server->setHandler(
// Define base URL
$reader->setMacros(
'~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

Loading…
Cancel
Save