Skip to content

Instantly share code, notes, and snippets.

@inian
Last active November 15, 2022 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inian/4a34db55a060d00d8d96bd6d543c2f00 to your computer and use it in GitHub Desktop.
Save inian/4a34db55a060d00d8d96bd6d543c2f00 to your computer and use it in GitHub Desktop.
test
import { Application } from "https://deno.land/x/oak@v9.0.0/mod.ts";
const app = new Application();
app.use((ctx) => {
ctx.response.body = "Hello World! ini1";
console.log(ctx);
});
await app.listen({ port: 8000 });
@DeshanSingh
Copy link

IMG_4962

@DeshanSingh
Copy link

``import { Application } from "https://deno.land/x/oak@v9.0.0/mod.ts";

const app = new Application();

app.use((ctx) => {
ctx.response.body = "Hello World! ini1";
console.log(ctx);
});

await app.listen({ port: 8000 }); #

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment