Skip to content

Commit d9999d5

Browse files
Two minor fixes
1 parent 94f0f16 commit d9999d5

File tree

1 file changed

+2
-2
lines changed
  • frameworks/D/photon-http/source

1 file changed

+2
-2
lines changed

frameworks/D/photon-http/source/app.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class BenchmarkProcessor : HttpProcessor {
2121
}
2222

2323
override void handle(HttpRequest req) {
24-
if (req.uri == "/hello") {
24+
if (req.uri == "/plaintext") {
2525
respondWith("Hello, world!", 200, plainText);
2626
} else if(req.uri == "/json") {
2727
jsonBuf.clear();
@@ -39,7 +39,7 @@ void server_worker(Socket client) {
3939
processor.run();
4040
}
4141
catch(Exception e) {
42-
stderr.writeln(e);
42+
debug stderr.writeln(e);
4343
}
4444
}
4545

0 commit comments

Comments
 (0)