mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-31 22:43:11 +02:00
Websocket Support (#159)
This commit is contained in:
@@ -32,6 +32,8 @@ function detectFromContent(
|
||||
content.toLowerCase().startsWith('<html')
|
||||
) {
|
||||
return 'html';
|
||||
} else if (content.startsWith('<')) {
|
||||
return 'xml';
|
||||
}
|
||||
|
||||
return fallback;
|
||||
|
||||
Reference in New Issue
Block a user