Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- app.get('/*', function ( req, res ) {
- res.status( 200 ).set( { 'content-type': 'text/html; charset=utf-8' } )
- .sendFile( __dirname + '/public/index.html' )
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement