mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 19:17:13 -05:00 
			
		
		
		
	Merge pull request #2371 from paperless-ngx/fix-subpath-websockets
* paperless-ngx/fix-subpath-websockets: Use subpath for websocket URL
This commit is contained in:
		
						commit
						7b3719101a
					
				@ -154,7 +154,7 @@ urlpatterns = [
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
websocket_urlpatterns = [
 | 
					websocket_urlpatterns = [
 | 
				
			||||||
    re_path(r"ws/status/$", StatusConsumer.as_asgi()),
 | 
					    path(settings.BASE_URL.lstrip("/") + "ws/status/", StatusConsumer.as_asgi()),
 | 
				
			||||||
]
 | 
					]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Text in each page's <h1> (and above login form).
 | 
					# Text in each page's <h1> (and above login form).
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user