We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e74badf + 6b428d6 commit c7038ceCopy full SHA for c7038ce
Sample-01/server.js
@@ -17,4 +17,6 @@ app.use(
17
18
app.use(express.static(join(__dirname, "build")));
19
20
+app.get('*', (req, res) => res.sendFile(join(__dirname, 'build', 'index.html')));
21
+
22
app.listen(port, () => console.log(`Server listening on port ${port}`));
0 commit comments