From e00ff077752a4b4295ca8398d0447ef1e60a07fe Mon Sep 17 00:00:00 2001 From: crschnick Date: Sat, 10 Aug 2024 14:51:16 +0000 Subject: [PATCH] Format more aws hostnames --- app/src/main/java/io/xpipe/app/util/DataStoreFormatter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/xpipe/app/util/DataStoreFormatter.java b/app/src/main/java/io/xpipe/app/util/DataStoreFormatter.java index 0a7920c44..5f1cb2782 100644 --- a/app/src/main/java/io/xpipe/app/util/DataStoreFormatter.java +++ b/app/src/main/java/io/xpipe/app/util/DataStoreFormatter.java @@ -104,7 +104,7 @@ public class DataStoreFormatter { DataStoreFormatter.cut(name, lengthShare), DataStoreFormatter.cut(region, length - lengthShare)); } - if (input.endsWith(".compute.amazonaws.com")) { + if (input.endsWith(".compute.amazonaws.com") || input.endsWith(".compute.internal")) { var split = input.split("\\."); var name = split[0]; var region = split[1];