cdn dont use https for localhost

This commit is contained in:
Rory&
2025-12-27 07:28:59 +01:00
parent e4545c13e0
commit ae2bff7cfc

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${if cfg.cdnEndpoint.useSsl then "s" else ""}://127.0.0.1:${toString cfg.cdnEndpoint.localPort}/";
endpointPrivate = "http://127.0.0.1:${toString cfg.cdnEndpoint.localPort}/";
};
gateway = {
endpointPublic = "ws${if cfg.gatewayEndpoint.useSsl then "s" else ""}://${cfg.gatewayEndpoint.host}:${toString cfg.gatewayEndpoint.publicPort}/";