From 4f964939a15d3fbd9ecec7607a5f43b0b4a2c288 Mon Sep 17 00:00:00 2001 From: linchiwei123 <40888469+linchiwei123@users.noreply.github.com> Date: Tue, 4 Feb 2020 10:27:10 +0800 Subject: [PATCH] :bug: Fix middleware docs link (#893) --- docs/tutorial/middleware.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/tutorial/middleware.md b/docs/tutorial/middleware.md index b37ff75f1..9e348aa7b 100644 --- a/docs/tutorial/middleware.md +++ b/docs/tutorial/middleware.md @@ -28,8 +28,7 @@ The middleware function receives: !!! tip Have in mind that custom proprietary headers can be added using the 'X-' prefix. - But if you have custom headers that you want a client in a browser to be able to see, you need to add them to your CORS configurations ([CORS (Cross-Origin Resource Sharing) -](cors.md){.internal-link target=_blank}) using the parameter `expose_headers` documented in Starlette's CORS docs. + But if you have custom headers that you want a client in a browser to be able to see, you need to add them to your CORS configurations ([CORS (Cross-Origin Resource Sharing)](cors.md){.internal-link target=_blank}) using the parameter `expose_headers` documented in Starlette's CORS docs. ### Before and after the `response`