2
0
Эх сурвалжийг харах

Remove protocol from custom domain (#3897)

Feroze Mohideen 2 жил өмнө
parent
commit
5bafffabd7

+ 1 - 1
dashboard/src/lib/porter-apps/services.ts

@@ -262,7 +262,7 @@ export function serializeService(service: ClientService): SerializedService {
           }),
           healthCheck: serializeHealth({ health: config.healthCheck }),
           domains: config.domains.map((domain) => ({
-            name: domain.name.value,
+            name: domain.name.value.replace("https://", "").replace("http://", ""),
           })),
           ingressAnnotations: Object.fromEntries(
             config.ingressAnnotations