MCPcopy
hub / github.com/eggjs/examples / router.js

File router.js

cookie-session/app/router.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1'use strict';
2
3module.exports = app => {
4 app.router.get('/', app.controller.home.setSession);

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected