File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
templates/app/server/config Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export default function(app) {
4242 app . use ( express . static ( app . get ( 'appPath' ) ) ) ;
4343 app . use ( morgan ( 'dev' ) ) ;
4444
45- app . set ( 'views' , config . root + ' /server/views' ) ; < % if ( filters . html ) { % >
45+ app . set ( 'views' , ` ${ config . root } /server/views` ) ; < % if ( filters . html ) { % >
4646 app . engine ( 'html' , require ( 'ejs' ) . renderFile ) ;
4747 app . set ( 'view engine' , 'html' ) ; < % } % > < % if ( filters . pug ) { % >
4848 app . set ( 'view engine' , 'pug' ) ; < % } % >
@@ -102,7 +102,7 @@ export default function(app) {
102102 browserSync . init ( {
103103 open : false ,
104104 logFileChanges : false ,
105- proxy : ' localhost:' + config . port ,
105+ proxy : ` localhost:${ config . port } ` ,
106106 ws : true ,
107107 middleware : [
108108 webpackDevMiddleware ( compiler , {
You can’t perform that action at this time.
0 commit comments