Ask Nodejs
Tuesday 16 May 2017
How to resolve cannot get path error for the client side routes(HTML5 mode) on refresh from server side?
app.get('*',function(req,res,next){ res.sendFile(path.resolve('./client/src/index.html')); });
via
user108497
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment