mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-05-28 13:06:49 +09:00
6f7f0973db
If deploying Campfire to a path other than the root (for example, using Kamal's path-based routing) then the Action Cable endpoint needs to be adjusted to include that path. Prepending the script name to the cable path means it will be adjusted to the path in the same way that the application routes are. When script name is the default, the behaviour is unchanged.