Created
October 23, 2019 14:24
-
-
Save backmeupplz/257550f3c1acad7a96be356e8a879d1f to your computer and use it in GitHub Desktop.
public.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Controller, Get } from 'koa-router-ts' | |
import { Context } from 'koa' | |
@Controller('/') | |
export default class { | |
@Get('/') | |
async facebook(ctx: Context) { | |
ctx.body = "Cool cool cool cool, noice" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment