File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
interfaces/remoteOperatorUI Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 1313const os = require ( 'os' ) ;
1414const path = require ( 'path' ) ;
1515const fs = require ( 'fs' ) ;
16+ const express = require ( 'express' ) ;
1617
1718const server = require ( '@libraries/hardwareInterfaces' ) ;
1819const utilities = require ( '@libraries/utilities' ) ;
@@ -181,6 +182,8 @@ function startHTTPServer(localUIApp, port) {
181182
182183 server8080 . webServer . use ( '/userinterface' , localUIApp . app ) ;
183184
185+ localUIApp . app . use ( '/objectDefaultFiles' , express . static ( __dirname + '/../../../../libraries/objectDefaultFiles/' ) ) ;
186+
184187 // pass visibleObjects messages to the userinterface
185188 server . subscribeToMatrixStream ( function ( visibleObjects ) {
186189 ioBroadcast ( 'visibleObjects' , visibleObjects ) ;
You can’t perform that action at this time.
0 commit comments