mirror of
https://github.com/aleleba/create-react-ssr.git
synced 2025-04-19 06:08:07 -06:00
PR-589725: fixing express 5 wildcard migration.
This commit is contained in:
parent
be0bb6238f
commit
bf1a6a2996
@ -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}`);
|
||||
|
Loading…
Reference in New Issue
Block a user