remove extra settings, use server conf instead

This commit is contained in:
ghost 2024-02-01 15:58:45 +02:00
parent 2c898d7ab1
commit ae2a1cead6
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,6 @@
},
"url":
{
"base":"gemini://..",
"source":"http://.."
}
},

View File

@ -135,8 +135,9 @@ $server->setHandler(
// Append source and homepage link
$lines[] = sprintf(
'=> %s %s',
$config->dokuwiki->url->base,
'=> gemini://%s%s %s',
$config->gemini->server->host,
$config->gemini->server->port == 1965 ? null : ':' . $config->gemini->server->port,
$config->string->main
);