Skip to content

Commit 7de557e

Browse files
committed
fix video
1 parent dcf4e35 commit 7de557e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

website/src/pages/docs/index.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ description: What's GraphQL-ESLint, key features and helpful resources.
88
This project integrates GraphQL and ESLint, for a better developer experience.
99

1010
<video autoPlay loop muted playsInline>
11-
<source src="/demo.mp4" type="video/mp4" />
11+
<source
12+
src={(process.env.NODE_ENV === 'production' ? 'eslint' : '') + '/demo.mp4'}
13+
type="video/mp4"
14+
/>
1215
</video>
1316

1417
<p className="mt-3 text-center text-sm italic">Demo GraphQL-ESLint in VSCode</p>

0 commit comments

Comments
 (0)