1
0
mirror of https://github.com/YGGverse/bdoku.git synced 2025-01-12 08:07:53 +00:00

fix encoding, add response settings

This commit is contained in:
ghost 2024-02-04 13:55:05 +02:00
parent 0d5f100a25
commit ea359f2089
2 changed files with 10 additions and 2 deletions

View File

@ -5,6 +5,14 @@
{ {
"host":"127.0.0.1", "host":"127.0.0.1",
"port":1965 "port":1965
},
"response":
{
"default":
{
"code":20,
"meta":"text/gemini; charset=utf-8;"
}
} }
}, },
"memcached": "memcached":

View File

@ -176,11 +176,11 @@ $server->setHandler(
$response = new \Yggverse\TitanII\Response(); $response = new \Yggverse\TitanII\Response();
$response->setCode( $response->setCode(
20 $config->gemini->response->default->code
); );
$response->setMeta( $response->setMeta(
'text/gemini' $config->gemini->response->default->meta
); );
// Route begin // Route begin