mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
io: fix old format names
This commit is contained in:
parent
9e354e7382
commit
0447aeee00
1 changed files with 2 additions and 2 deletions
|
@ -162,7 +162,7 @@ int websocket_protocol_cb(struct lws *wsi, enum lws_callback_reasons reason, voi
|
|||
}
|
||||
|
||||
if (!format)
|
||||
format = "webmsg";
|
||||
format = "villas-web";
|
||||
|
||||
c->format = io_format_lookup(format);
|
||||
if (!c->format) {
|
||||
|
@ -362,7 +362,7 @@ int websocket_start(struct node *n)
|
|||
c->destination = d;
|
||||
c->_name = NULL;
|
||||
|
||||
c->format = io_format_lookup("webmsg"); /** @todo We could parse the format from the URI */
|
||||
c->format = io_format_lookup("villas-web"); /** @todo We could parse the format from the URI */
|
||||
|
||||
d->info.context = web->context;
|
||||
d->info.vhost = web->vhost;
|
||||
|
|
Loading…
Add table
Reference in a new issue