Fix kiosk SignalR: skip WebSocket transport, add hubs/Kiosk to subscription bypass
1. kiosk-welcome.js: force SSE|LongPolling transport on the kiosk hub. Azure App Service's ingress proxy cancels anonymous WebSocket handshakes before the SignalR protocol exchange completes. SSE and long polling work fine for the low-frequency StartIntake push this hub needs. 2. SubscriptionMiddleware: add /hubs/ and /Kiosk/ to SkipPaths so a subscription redirect can never fire on a hub or kiosk request and abort the connection mid-handshake. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -47,6 +47,8 @@ public class SubscriptionMiddleware
|
||||
"/Billing",
|
||||
"/api/",
|
||||
"/stripe/",
|
||||
"/hubs/",
|
||||
"/Kiosk/",
|
||||
"/Profile/Photo",
|
||||
"/CompanyLogo",
|
||||
"/AccountDataExport"
|
||||
|
||||
Reference in New Issue
Block a user