Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- app.get('*', function(req, res){
- res.sendFile(__dirname+'/home.html');
- });
- app.get('/urlA', function(req, res){
- res.sendFile(__dirname+'/home.html');
- });
- app.get('/urlB', function(req, res){
- res.sendFile(__dirname+'/home.html');
- });
- app.get('/urlA, /urlB', function(req, res){
- res.sendFile(__dirname+'/home.html');
- });
Add Comment
Please, Sign In to add comment