Skip to content

Commit

Permalink
fix: flag for CDN code block (#6139)
Browse files Browse the repository at this point in the history
  • Loading branch information
TuvalSimha authored Dec 18, 2024
1 parent 6bc7d1c commit b54521b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/web/app/src/components/layouts/target.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ function FederationModalContent(props: {
</p>
{authenticateSection}
<CodeBlock className="mt-2">
{`docker run --name hive-gateway -rm -p 4000:4000 \\
{`docker run --name hive-gateway --rm -p 4000:4000 \\
ghcr.io/graphql-hive/gateway supergraph \\
'${props.cdnUrl}' \\
--hive-cdn-key '<hive_cdn_access_key>'`}
Expand All @@ -562,7 +562,7 @@ function FederationModalContent(props: {
</p>
{authenticateSection}
<CodeBlock>
{`docker run --name hive-gateway -rm \\
{`docker run --name hive-gateway --rm \\
--env HIVE_CDN_ENDPOINT="${props.cdnUrl}" \\
--env HIVE_CDN_KEY="<hive_cdn_access_key>"
ghcr.io/graphql-hive/apollo-router`}
Expand Down

0 comments on commit b54521b

Please sign in to comment.