Skip to content

Commit

Permalink
Update react.js
Browse files Browse the repository at this point in the history
  • Loading branch information
codenameyau authored Mar 11, 2020
1 parent b98e2d4 commit cb116a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/controllers/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const reactApp = (req, res, next) => {
res.redirect(`${req.path}`);
}

const html = path.resolve('public/index.html');
const html = path.resolve('build/index.html');
res.sendFile(html);
};

Expand Down

0 comments on commit cb116a2

Please sign in to comment.