Created
June 29, 2020 11:52
-
-
Save markodayan/5b47eca62a433cfe90c873367aff1a0a to your computer and use it in GitHub Desktop.
Serve Front end App (Client) from Node.js Backend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// set static folder pointing to built client app | |
app.use(express.static('client/build')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment