{"size": 359, "ext": "js", "max_stars_repo_path": "server.js", "max_stars_repo_name": "shushantkumar/Imminent", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "server.js", "max_issues_repo_name": "shushantkumar/Imminent", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "server.js", "max_forks_repo_name": "shushantkumar/Imminent", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 22.4375, "max_line_length": 58, "alphanum_fraction": 0.6768802228}
const express = require('express');
const app = express();
const path = require('path');
app.use(express.static(__dirname+'/dist/'));
app.use(express.static('build'));

app.listen(process.env.PORT || 8080);
app.get('*',function(req,res){
	const index = path.join(__dirname, 'dist', 'index.html');
  	res.sendFile(index);

});

console.log("Server started");

