From 42233228b435c09e4e5919c1948526fd22bb8635 Mon Sep 17 00:00:00 2001
From: Jonah Lawrence
Date: Wed, 15 Jun 2022 19:00:22 -0600
Subject: [PATCH] Fix typos in endpoint badge docs (#8085)
---
frontend/pages/endpoint.tsx | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/frontend/pages/endpoint.tsx b/frontend/pages/endpoint.tsx
index 32e70fe034..aef1c029a7 100644
--- a/frontend/pages/endpoint.tsx
+++ b/frontend/pages/endpoint.tsx
@@ -134,7 +134,7 @@ export default function EndpointPage(): JSX.Element {
The endpoint badge is a better alternative than redirecting to the
- static badge enpoint or generating SVG on your server:
+ static badge endpoint or generating SVG on your server:
-
@@ -142,7 +142,7 @@ export default function EndpointPage(): JSX.Element {
Content and presentation are separate.
{' '}
The service provider authors the badge, and Shields takes input from
- the user to format it. As a service provider you author the badge
+ the user to format it. As a service provider, you author the badge
but don't have to concern yourself with styling. You don't even have
to pass the formatting options through to Shields.
@@ -152,12 +152,12 @@ export default function EndpointPage(): JSX.Element {
-
A JSON response is easy to implement; easier than an HTTP redirect.
- It is trivial in almost any framework, and is more compatible with
+ It is trivial in almost any framework and is more compatible with
hosting environments such as{' '}
RunKit endpoints.
-
- As a service provider you can rely on the Shields CDN. There's no
+ As a service provider, you can rely on the Shields CDN. There's no
need to study the HTTP headers. Adjusting cache behavior is as
simple as setting a property in the JSON response.
@@ -197,7 +197,7 @@ export default function EndpointPage(): JSX.Element {
-
Default:
false. true to treat this as an
error badge. This prevents the user from overriding the color. In the
- future it may affect cache behavior.
+ future, it may affect cache behavior.
- namedLogo
-