mirror of
				https://github.com/aleleba/create-react-ssr.git
				synced 2025-10-30 05:30:35 -06:00 
			
		
		
		
	PR-589725: fixing express 5 wildcard migration.
This commit is contained in:
		| @@ -129,7 +129,7 @@ const renderApp = (req, res, next) => { | ||||
| }; | ||||
|  | ||||
| app | ||||
| 	.get(/\*/, renderApp); | ||||
| 	.get('/{*splat}', renderApp); | ||||
|  | ||||
| app.listen(PORT, () => { | ||||
| 	console.log(`Server running on port ${PORT}`); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user