docs/middleware
Kevin Heis e3cfacd8df
Fix robots.txt from being self repeating (#16705)
* Fix robots.txt from being self repeating

* Add test to make sure robots doesnt have duplicate lines
2020-12-02 19:45:22 +00:00
..
contextualizers Fix missing webhook payloads on marketplace API page (#16641) 2020-11-26 20:42:31 -05:00
redirects Hello git history spelunker! 2020-09-27 14:10:11 +02:00
README.md Hello git history spelunker! 2020-09-27 14:10:11 +02:00
archived-enterprise-versions-assets.js move is-archived-version into a function instead of middleware 2020-11-18 15:18:50 -05:00
archived-enterprise-versions.js move is-archived-version into a function instead of middleware 2020-11-18 15:18:50 -05:00
breadcrumbs.js Remove versions feature flag code (#15793) 2020-09-29 13:36:07 -04:00
categories-for-support-team.js Hello git history spelunker! 2020-09-27 14:10:11 +02:00
context.js Support enterpriseServerVersions in Liquid statements (#16058) 2020-10-15 16:20:41 -04:00
cookie-parser.js Hello git history spelunker! 2020-09-27 14:10:11 +02:00
cors.js Hello git history spelunker! 2020-09-27 14:10:11 +02:00
csp.js Remove unsafe eval (#16704) 2020-12-02 16:19:14 +00:00
csrf-route.js Send CSRF tokens over XHR (#15778) 2020-09-28 09:44:14 -07:00
csrf.js Send CSRF tokens over XHR (#15778) 2020-09-28 09:44:14 -07:00
detect-language.js Hello git history spelunker! 2020-09-27 14:10:11 +02:00
dev-toc.js add the barest minimal dev-toc 2020-11-13 14:31:59 -05:00
disable-caching-on-safari.js Hello git history spelunker! 2020-09-27 14:10:11 +02:00
early-access-paths.js Hello git history spelunker! 2020-09-27 14:10:11 +02:00
early-access-proxy.js Hello git history spelunker! 2020-09-27 14:10:11 +02:00
events.js Don't bork locally without Hydro (#16361) 2020-11-05 19:06:46 +00:00
featured-links.js use new module 2020-11-12 13:31:57 -05:00
find-page.js Hello git history spelunker! 2020-09-27 14:10:11 +02:00
handle-csrf-errors.js Improve performance of csrf errors (#16136) 2020-10-20 11:42:05 -04:00
handle-errors.js Improve performance of csrf errors (#16136) 2020-10-20 11:42:05 -04:00
handle-invalid-paths.js Hello git history spelunker! 2020-09-27 14:10:11 +02:00
index.js Render Enterprise release notes on docs.github.com (#16367) 2020-11-20 13:33:11 -05:00
loaderio-verification.js Hello git history spelunker! 2020-09-27 14:10:11 +02:00
rate-limit.js Use Redis Store for rate limiting when available (#16484) 2020-11-16 15:55:07 -08:00
record-redirect.js Don't record 304 redirects (#16245) 2020-11-03 22:21:12 +00:00
render-page.js Datadoge (#16464) 2020-11-13 15:49:50 -05:00
req-utils.js Sending events to POST /events endpoint (#15796) 2020-10-08 09:24:41 -07:00
robots.js Fix robots.txt from being self repeating (#16705) 2020-12-02 19:45:22 +00:00
set-fastly-cache-headers.js Hello git history spelunker! 2020-09-27 14:10:11 +02:00
trigger-error.js Hello git history spelunker! 2020-09-27 14:10:11 +02:00
webpack.js Sm0ller webpack output (#16543) 2020-11-19 13:06:20 -05:00

README.md

Middleware

Each file in this directory exports an Express Middleware function.

For more info, see https://expressjs.com/en/guide/using-middleware.html

Subdirectories

There are subdirectories for different types of middleware: