Unverified Commit f7a8cfb1 authored by Yureka's avatar Yureka Committed by GitHub
Browse files

nixos/lasuite-docs: Set collaboration server allowed origins (#413190)

Without this, the collaboration server closes the websocket connection
and activity within the doc is not synchronized.
parent 7f7282e5
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -176,6 +176,13 @@ in
              defaultText = lib.literalExpression "https://\${cfg.domain}";
              description = "URL to the backend server base";
            };

            COLLABORATION_SERVER_ORIGIN = mkOption {
              type = types.str;
              default = "https://${cfg.domain}";
              defaultText = lib.literalExpression "https://\${cfg.domain}";
              description = "Origins allowed to connect to the collaboration server";
            };
          };
        };
        default = { };