Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/eggjs/examples
/ router.js
File
router.js
multipart/app/router.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
module.exports = app => {
2
app.router.get(
'/'
,
'home.render'
);
3
4
app.router.get(
'/ajax'
, app.controller.ajax.show);
Callers
nothing calls this directly
Calls
2
get
Method · 0.45
post
Method · 0.45
Tested by
no test coverage detected