seagull-js/seagull

View on GitHub
examples/helloworld/src/routes/index_route.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { Route, RouteContext } from '@seagull/routes'

export default class IndexRoute extends Route {
  static path = '/'
  static async handler(this: RouteContext) {
    this.html('hello html world')
  }
}