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 {
73
73
this . app . use ( coverageStyle ) ;
74
74
75
75
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' ) ) ) ;
77
77
78
78
this . app . use ( bodyParser . json ( ) ) ; // support json encoded bodies
79
79
this . app . use ( bodyParser . urlencoded ( { extended : true } ) ) ; // support encoded bodies
@@ -118,7 +118,7 @@ class Server {
118
118
119
119
this . app . get ( '/embark/*' , function ( req , res ) {
120
120
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' ) ) ;
122
122
} ) ;
123
123
124
124
if ( this . enableCatchAll === true ) {
You can’t perform that action at this time.
0 commit comments