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:
parent
0d5f100a25
commit
ea359f2089
@ -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":
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user