File tree 3 files changed +4
-5
lines changed
3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
framework :
2
2
github : andrewlalis/handy-httpd
3
- version : 7.16
3
+ version : 8.2
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " server" ,
3
3
"dependencies" : {
4
- "handy-httpd" : " ~>7.16.1 "
4
+ "handy-httpd" : " ~>8.2.0 "
5
5
},
6
6
"dflags-ldc" : [
7
7
" -mcpu=native" ,
Original file line number Diff line number Diff line change @@ -5,13 +5,12 @@ void main() {
5
5
import slf4d;
6
6
import slf4d.default_provider;
7
7
8
- auto provider = new shared DefaultProvider(true , Levels.ERROR );
8
+ auto provider = new DefaultProvider(true , Levels.ERROR );
9
9
configureLoggingProvider(provider);
10
10
11
- ServerConfig cfg = ServerConfig.defaultValues() ;
11
+ ServerConfig cfg = ServerConfig.init ;
12
12
cfg.hostname = " 0.0.0.0" ;
13
13
cfg.port = 3000 ;
14
- cfg.enableWebSockets = false ;
15
14
16
15
auto pathHandler = new PathHandler()
17
16
.addMapping(Method.GET , " /" , (ref ctx) {ctx.response.okResponse();})
You can’t perform that action at this time.
0 commit comments