Browse Source

return absolute path in base

main
ghost 11 months ago
parent
commit
dbb6d02bc7
  1. 6
      src/server.php

6
src/server.php

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

Loading…
Cancel
Save