mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 20:39:17 +08:00
8 lines
153 B
TypeScript
8 lines
153 B
TypeScript
import * as Koa from "koa";
|
|
import serve = require("koa-static");
|
|
|
|
const app = new Koa();
|
|
|
|
app.use(serve('.',{index:false,defer:false}));
|
|
|
|
app.listen(80) |