mirror of
https://github.com/mjrode/WhatToWatch.git
synced 2026-05-07 21:19:08 -05:00
Typo
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ export default () => {
|
||||
});
|
||||
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
app.use(express.static('client/build'));
|
||||
server.use(express.static('client/build'));
|
||||
const path = require('path');
|
||||
app.get('*', (req, res) => {
|
||||
res.sendFile(path.resolve(__dirname, 'client', 'build', 'index.html'));
|
||||
|
||||
Reference in New Issue
Block a user