mirror of
https://github.com/spacebarchat/server.git
synced 2026-03-29 18:29:52 +00:00
cdn no leading slash for private endpoint hack
This commit is contained in:
@@ -17,7 +17,7 @@ let
|
||||
};
|
||||
cdn = {
|
||||
endpointPublic = "http${if cfg.cdnEndpoint.useSsl then "s" else ""}://${cfg.cdnEndpoint.host}:${toString cfg.cdnEndpoint.publicPort}/";
|
||||
endpointPrivate = "http://127.0.0.1:${toString cfg.cdnEndpoint.localPort}/";
|
||||
endpointPrivate = "http://127.0.0.1:${toString cfg.cdnEndpoint.localPort}"; # HACK: No leading slash, server cant handle this yet
|
||||
};
|
||||
gateway = {
|
||||
endpointPublic = "ws${if cfg.gatewayEndpoint.useSsl then "s" else ""}://${cfg.gatewayEndpoint.host}:${toString cfg.gatewayEndpoint.publicPort}/";
|
||||
|
||||
Reference in New Issue
Block a user