Merge branch 'gomix' into feat/cleanup-glitch-assets-and-add-files
This commit is contained in:
		
						commit
						89f260d8f9
					
				@ -8,10 +8,7 @@ const port = process.env.PORT || 3000;
 | 
			
		||||
 | 
			
		||||
app.use(cors());
 | 
			
		||||
 | 
			
		||||
/* This project needs to parse POST bodies */
 | 
			
		||||
// You should mount body-parser here
 | 
			
		||||
 | 
			
		||||
app.use('/public', express.static(process.cwd() + '/public'));
 | 
			
		||||
app.use('/public', express.static(`${process.cwd()}/public`));
 | 
			
		||||
 | 
			
		||||
app.get('/', function(req, res) {
 | 
			
		||||
  res.sendFile(process.cwd() + '/views/index.html');
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user