MCPcopy Create free account
hub / github.com/AdaXH/korct / ViewController

Class ViewController

controller/ViewController.ts:3–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { GetMapping, renderHtml } from '@/common';
2
3export default class ViewController {
4 @GetMapping(/\/*/)
5 @renderHtml()
6 async renderIndex(): Promise<string> {
7 return 'index';
8 }
9}

Callers

nothing calls this directly

Calls 2

GetMappingFunction · 0.90
renderHtmlFunction · 0.90

Tested by

no test coverage detected