docs/middleware
Chiedo John 7924aea2f8
Instruct search engines to not crawl archived versions (#16292)
* Instruct search engines to not crawl archived versions

* Update middleware/robots.js

Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>

* Add test

* Fix spooky bug

Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
2020-11-03 08:23:22 -05:00
..
contextualizers GitHub AE (GHAE) (#16090) 2020-11-02 15:12:44 -06: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 satisifies -> satisfies (#15814) 2020-09-30 10:28:47 -04:00
archived-enterprise-versions.js fix up redirect paths for Windows 2020-10-09 08:24:01 -07: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 more Google Analytics references (#16194) 2020-10-26 14:17:49 -07: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
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
enterprise-data-endpoint.js Hello git history spelunker! 2020-09-27 14:10:11 +02:00
enterprise-homepage.js Hello git history spelunker! 2020-09-27 14:10:11 +02:00
events.js Hydro exit event (#16067) 2020-10-21 09:42:02 -07:00
featured-links.js Support arbitrary keys in new featuredLinks frontmatter (#16239) 2020-10-27 13:53:10 -04: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
homepages.js Hello git history spelunker! 2020-09-27 14:10:11 +02:00
index.js Record redirect events (#16181) 2020-10-26 10:18:42 -07:00
loaderio-verification.js Hello git history spelunker! 2020-09-27 14:10:11 +02:00
notices.js Remove versions feature flag code (#15793) 2020-09-29 13:36:07 -04:00
products.js Hello git history spelunker! 2020-09-27 14:10:11 +02:00
rate-limit.js Make Rate Limiter Aggressive on statuses > 400 (#15888) 2020-10-05 10:36:13 -04:00
record-redirect.js Record redirect events (#16181) 2020-10-26 10:18:42 -07:00
render-page.js GitHub AE (GHAE) (#16090) 2020-11-02 15:12:44 -06:00
req-utils.js Sending events to POST /events endpoint (#15796) 2020-10-08 09:24:41 -07:00
robots.js Instruct search engines to not crawl archived versions (#16292) 2020-11-03 08:23:22 -05: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 Hello git history spelunker! 2020-09-27 14:10:11 +02: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: