mirror of
https://github.com/SuperBFG7/ympd
synced 2024-12-28 11:50:26 +00:00
added wss+digest workaround for mobile safari
This commit is contained in:
commit
15c29c4b6b
@ -62,7 +62,8 @@ static int server_callback(struct mg_connection *c, enum mg_event ev) {
|
||||
return callback_http(c);
|
||||
#endif
|
||||
case MG_AUTH:
|
||||
if ( gpass == NULL )
|
||||
// no auth for websockets since mobile safari does not support it
|
||||
if ( (gpass == NULL) || (c->is_websocket) )
|
||||
return MG_TRUE;
|
||||
else {
|
||||
if ( (fp = fopen(gpass, "r")) != NULL ) {
|
||||
|
Loading…
Reference in New Issue
Block a user