Updated to handy-httpd v8.2.0
This commit is contained in:
parent
526f150482
commit
4f1c7f6320
2
dub.json
2
dub.json
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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")) {
|
||||
|
|
Loading…
Reference in New Issue