mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
pipe: always start API together with Web module
This commit is contained in:
parent
d31c48607b
commit
a8a0dc05ca
1 changed files with 3 additions and 1 deletions
|
@ -305,8 +305,10 @@ check: if (optarg == endptr)
|
|||
|
||||
#ifdef WITH_WEBSOCKET
|
||||
/* Only start web subsystem if villas-pipe is used with a websocket node */
|
||||
if (node->_vt->start == websocket_start)
|
||||
if (node->_vt->start == websocket_start) {
|
||||
web_start(&sn.web);
|
||||
api_start(&sn.api);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (reverse)
|
||||
|
|
Loading…
Add table
Reference in a new issue