Updated to handy-httpd v8.2.0

This commit is contained in:
Andrew Lalis 2024-01-29 16:30:37 -05:00
parent 526f150482
commit 4f1c7f6320
3 changed files with 5 additions and 4 deletions

View File

@ -6,7 +6,7 @@
"dependencies": {
"d-properties": "~>1.0.4",
"d2sqlite3": "~>1.0.0",
"handy-httpd": "~>8.1.0"
"handy-httpd": "~>8.2.0"
},
"subConfigurations": {
"d2sqlite3": "all-included"

View File

@ -3,10 +3,10 @@
"versions": {
"d-properties": "1.0.5",
"d2sqlite3": "1.0.0",
"handy-httpd": "8.1.0",
"handy-httpd": "8.2.0",
"httparsed": "1.2.1",
"path-matcher": "1.1.3",
"slf4d": "2.4.3",
"slf4d": "3.0.0",
"streams": "3.5.0"
}
}

View File

@ -10,7 +10,8 @@ import std.json;
import std.datetime;
void main() {
ServerConfig config = ServerConfig.defaultValues();
ServerConfig config;
config.receiveBufferSize = 2048;
if (exists("application.properties")) {
Properties props = Properties("application.properties");
if (props.has("hostname")) {