File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ module.exports = {
11
11
context : resolvePath ( 'src/' ) ,
12
12
appIndexJs : resolvePath ( 'src/index.js' ) ,
13
13
appStyle : resolvePath ( 'src/styles/main.scss' ) ,
14
- appHtml : resolvePath ( 'public/index.html' ) ,
14
+ appHtml : resolvePath ( 'public/index.ref. html' ) ,
15
15
vendor : [ 'react' , 'react-dom' ] ,
16
16
appBuild : resolvePath ( 'build' ) ,
17
17
serverRendererJs : resolvePath ( 'src/serverRenderer.js' ) ,
Original file line number Diff line number Diff line change @@ -3,11 +3,7 @@ const app = express();
3
3
const path = require ( 'path' ) ;
4
4
const renderer = require ( './renderer' ) ;
5
5
6
- app . use ( '/' , express . static ( path . join ( __dirname , '../build' ) ) ) ;
7
- // app.get('/', (req, res)=>{
8
- // res.send('hello world');
9
- // });
10
-
6
+ app . use ( express . static ( path . join ( __dirname , '../build' ) ) ) ;
11
7
app . get ( '*' , renderer ) ;
12
8
13
9
app . listen ( 8080 , ( ) => {
You can’t perform that action at this time.
0 commit comments