seagull-js/seagull

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

Summary

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

export default class Logging extends Route {
  static method: HttpMethod = 'GET'
  static path = '/logging-test'
  static async handler(this: RouteContext) {
    this.render('Logging', {})
  }
}