mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-26 05:58:48 -05:00
Prevent file handles to leak into nodejs server application
This commit is contained in:
@@ -158,8 +158,8 @@ void WebGuiModule::startProcess() {
|
||||
#endif
|
||||
|
||||
const std::string command = "\"" + nodePath + "\" "
|
||||
+ "\"" + _entryPoint.value() + "\"" +
|
||||
" --directory \"" + _webDirectory.value() + "\"" +
|
||||
+ "\"" + absPath(_entryPoint.value()) + "\"" +
|
||||
" --directory \"" + absPath(_webDirectory.value()) + "\"" +
|
||||
" --http-port \"" + std::to_string(_port.value()) + "\" " +
|
||||
" --ws-address \"" + _address.value() + "\"" +
|
||||
" --ws-port \"" + std::to_string(webSocketPort) + "\"" +
|
||||
|
||||
Reference in New Issue
Block a user