cdn no leading slash for private endpoint hack

This commit is contained in:
Rory&
2025-12-27 07:45:53 +01:00
parent ae2bff7cfc
commit be2ff3bcba

View File

@@ -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}/";