MCPcopy 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 */
49function installExpressMiddleware(app) {
50 app.get(['/', '/*'], serveIndex);
51}
52
53module.exports = {
54 installExpressMiddleware,

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected