mirror of
				https://gitea.invidious.io/iv-org/shard-kemal.git
				synced 2024-08-15 00:53:36 +00:00 
			
		
		
		
	fix websocket issue (#577)
This commit is contained in:
		
							parent
							
								
									2e749a2987
								
							
						
					
					
						commit
						dfe7dca08f
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		|  | @ -11,9 +11,7 @@ module Kemal | |||
| 
 | ||||
|     def call(context : HTTP::Server::Context) | ||||
|       return call_next(context) unless context.ws_route_found? && websocket_upgrade_request?(context) | ||||
|       content = context.websocket.call(context) | ||||
|       context.response.print(content) | ||||
|       context | ||||
|       context.websocket.call(context) | ||||
|     end | ||||
| 
 | ||||
|     def lookup_ws_route(path : String) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue