docs/middleware
Mike Surowiec 306f6fc75e
Enable more react pages (#19935)
* enable more react landing pages

* move nextjs page logic to separate middleware

* enable codespaces landing page + fixes

* enable /education

* enable /admin

* use pathToRegexp to match routes for react rendering

* run lint

* fix: typo in url

* update sidebar test
2021-06-15 13:31:17 -07:00
..
contextualizers add convience props to context and put supported ops in a separate module 2021-06-14 16:24:48 -04:00
redirects
README.md
abort.js
archived-enterprise-versions-assets.js
archived-enterprise-versions.js
block-robots.js
catch-bad-accept-language.js feat: add catch for bad accept-language header, prevent downstream 500 (#19909) 2021-06-14 22:45:29 +00:00
categories-for-support.js
connect-datadog.js Performance testing NextJS / React (#19540) 2021-05-27 15:17:27 -07:00
context.js React: remove expose (#19771) 2021-06-10 16:53:43 +00:00
cookie-parser.js
cors.js
csp.js feat: add nextjs middleware handling (#19139) 2021-05-05 15:23:46 +00:00
csrf.js
detect-language.js updating to add 2nd preference and accept-language-parser module 2021-06-01 15:45:02 -07:00
dev-toc.js
disable-caching-on-safari.js
events.js Update survey to use React/TS (#19728) 2021-06-08 17:34:45 +00:00
featured-links.js
find-page.js
halt-on-dropped-connection.js
handle-csrf-errors.js
handle-errors.js
handle-invalid-paths.js
index.js Enable more react pages (#19935) 2021-06-15 13:31:17 -07:00
is-next-request.js Enable more react pages (#19935) 2021-06-15 13:31:17 -07:00
learning-track.js Add Code security landing and guides pages (#19650) 2021-06-10 20:14:56 +00:00
loaderio-verification.js
next.js feat: add nextjs middleware handling (#19139) 2021-05-05 15:23:46 +00:00
rate-limit.js
record-redirect.js
render-page.js Enable more react pages (#19935) 2021-06-15 13:31:17 -07:00
req-utils.js
robots.js
search.js End Lunr AB test (#19155) 2021-05-06 18:04:28 +00:00
set-fastly-cache-headers.js
set-fastly-surrogate-key.js
timeout.js
trigger-error.js
webpack.js

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: