Skip to content

Commit

Permalink
Fixes template literal (#5630)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Hickey <andrewhickey@live.co.uk>
  • Loading branch information
andrewhickey authored and KyleAMathews committed May 31, 2018
1 parent bd8262e commit 6b02539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby/src/commands/develop.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ async function startServer(program) {
app.get(`*`, (req, res, next) => {
// Load file but ignore errors.
res.sendFile(
directoryPath(`/${buildDirectory}{decodeURIComponent(req.path)}`),
directoryPath(`/${buildDirectory}/${decodeURIComponent(req.path)}`),
err => {
// No err so a file was sent successfully.
if (!err || !err.path) {
Expand Down

0 comments on commit 6b02539

Please sign in to comment.