Skip to content

Commit 473d2c8

Browse files
authoredJul 3, 2020
Remove file copy from www (#25429)
1 parent 3a94eb6 commit 473d2c8

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed
 

‎docs/blog/gatsbygram-case-study/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ playing with the code!
1616

1717
<div>
1818
<video controls="controls" autoplay="true" loop="true">
19-
<source type="video/mp4" src="/gatsbygram.mp4" />
19+
<source type="video/mp4" src="gatsbygram.mp4" />
2020
<p>Your browser does not support the video element.</p>
2121
</video>
2222
</div>

‎www/gatsby-node.js

-8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
const Promise = require(`bluebird`)
2-
const fs = require(`fs-extra`)
32
const startersRedirects = require(`./starter-redirects.json`)
43

54
const { loadYaml } = require(`./src/utils/load-yaml`)
@@ -124,10 +123,3 @@ exports.createPages = async helpers => {
124123
})
125124
})
126125
}
127-
128-
exports.onPostBuild = () => {
129-
fs.copySync(
130-
`../docs/blog/2017-02-21-1-0-progress-update-where-came-from-where-going/gatsbygram.mp4`,
131-
`./public/gatsbygram.mp4`
132-
)
133-
}

0 commit comments

Comments
 (0)
Please sign in to comment.