Advertisement
Guest User

Untitled

a guest
Jul 24th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. //src/main.controller.ts
  2. import { Application } from 'express';
  3. export class Controller {
  4. constructor(private app: Application) {
  5. this.routes();
  6. }
  7. public routes() {
  8. this.app.route("/").get();
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement