Ben Grunfeld
1 min readOct 23, 2018

--

In the server files (server-dev.js and router.js), you can see app.get(‘*’) and router.get(‘*).Just copy and paste the code block, change * to the route you’re targeting, and then change its value of HTML_FILE to the HTML file that you want.

--

--

Ben Grunfeld
Ben Grunfeld

Written by Ben Grunfeld

I’m a Front End Engineer who loves React, NextJS, and GraphQL. Looking for a developer in #Israel? Contact me at: https://www.linkedin.com/in/bengrunfeld/

No responses yet