Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ installExpressMiddleware
Function
installExpressMiddleware
build-system/server/app-index/index.js:49–51 ·
view source on GitHub ↗
* @param {*} app require('express')
(app)
Source
from the content-addressed store, hash-verified
47
* @param {*} app require(
'express'
)
48
*/
49
function
installExpressMiddleware(app) {
50
app.get([
'/'
,
'/*'
], serveIndex);
51
}
52
53
module.exports = {
54
installExpressMiddleware,
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected