[android] Use comaps.at for share links

Signed-off-by: Harry Bond <me@hbond.xyz>
This commit is contained in:
Harry Bond
2025-06-13 22:33:36 +01:00
parent 8e35f4e208
commit 9fa56e57a0
3 changed files with 3 additions and 4 deletions

View File

@@ -119,7 +119,7 @@
<data android:scheme="http"/>
<data android:scheme="https"/>
<data android:host="comaps.app"/>
<data android:host="comaps.at"/>
</intent-filter>
<intent-filter>

View File

@@ -13,7 +13,7 @@ public final class Constants
public static class Url
{
public static final String SHORT_SHARE_PREFIX = "cm://";
public static final String HTTP_SHARE_PREFIX = "https://comaps.app/";
public static final String HTTP_SHARE_PREFIX = "https://comaps.at/";
public static final String MAILTO_SCHEME = "mailto:";
public static final String MAIL_SUBJECT = "?subject=";
@@ -23,7 +23,6 @@ public final class Constants
public static final String MASTODON = "https://floss.social/@comaps";
public static final String FB_OM_COMMUNITY_HTTP = "https://www.facebook.com/profile.php?id=61575286559965";
public static final String FB_OM_COMMUNITY_NATIVE = "fb://profile/61575286559965";
//public static final String TWITTER = "https://twitter.com/user";
public static final String CODE_REPO = "https://codeberg.org/comaps/comaps";

View File

@@ -12,7 +12,7 @@ class Ge0Parser
public:
// Used by map/mwm_url.cpp.
static constexpr std::array<std::string_view, 6> kGe0Prefixes = {{
"https://comaps.app/", "cm://", "http://comaps.app/",
"https://comaps.at/", "cm://", "http://comaps.at/",
"ge0://", "http://ge0.me/", "https://ge0.me/"
}};