File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/lib/modules/webserver Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ class Server {
7373 this . app . use ( coverageStyle ) ;
7474
7575 this . app . use ( express . static ( path . join ( fs . dappPath ( this . dist ) ) , { 'index' : [ 'index.html' , 'index.htm' ] } ) ) ;
76- this . app . use ( '/embark' , express . static ( path . join ( __dirname , '../../../embark-ui/build' ) ) ) ;
76+ this . app . use ( '/embark' , express . static ( path . join ( __dirname , '../../../../ embark-ui/build' ) ) ) ;
7777
7878 this . app . use ( bodyParser . json ( ) ) ; // support json encoded bodies
7979 this . app . use ( bodyParser . urlencoded ( { extended : true } ) ) ; // support encoded bodies
@@ -118,7 +118,7 @@ class Server {
118118
119119 this . app . get ( '/embark/*' , function ( req , res ) {
120120 self . logger . trace ( 'webserver> GET ' + req . path ) ;
121- res . sendFile ( path . join ( __dirname , '../../../embark-ui/build' , 'index.html' ) ) ;
121+ res . sendFile ( path . join ( __dirname , '../../../../ embark-ui/build' , 'index.html' ) ) ;
122122 } ) ;
123123
124124 if ( this . enableCatchAll === true ) {
You can’t perform that action at this time.
0 commit comments