Explorar o código

Remove protocol from custom domain (#3897)

Feroze Mohideen %!s(int64=2) %!d(string=hai) anos
pai
achega
5bafffabd7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dashboard/src/lib/porter-apps/services.ts

+ 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