Compare commits

..

No commits in common. "d7d2320103b28319f59e7940ebd4276c79846627" and "93f5bd30b9764e6911ed3034d14aeb4ef77067d8" have entirely different histories.

4 changed files with 1 additions and 30 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
.vscode

20
.vscode/launch.json vendored
View File

@ -1,20 +0,0 @@
{
"version": "0.2.0",
"configurations": [
{
"request": "launch",
"name": "test deno-http",
"type": "node",
"program": "${workspaceFolder}/example/test.ts",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "C:\\Users\\Admin\\.deno\\bin\\deno.EXE",
"runtimeArgs": [
"run",
"--unstable",
"--inspect-wait",
"--allow-all"
],
"attachSimplePort": 9229
}
]
}

View File

@ -1,4 +0,0 @@
{
"deno.enable": true,
"deno.unstable": true
}

View File

@ -195,12 +195,6 @@ export class HTTPServer {
}
}
close() {
if (this.server) {
this.server.close();
}
}
error(handler: RouteHandler) {
this.notFoundHandler = handler;
}