From 84b9b97059b37f5fb1a441fca1b083a14e75289b Mon Sep 17 00:00:00 2001
From: fanbook-wangdage <124357765+fanbook-wangdage@users.noreply.github.com>
Date: Fri, 5 Dec 2025 21:06:59 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=9C=8D=E5=8A=A1=E5=99=A8?=
=?UTF-8?q?=E5=9F=9F=E5=90=8D=E3=80=81=E6=9B=B4=E6=96=B0Sentry=E9=85=8D?=
=?UTF-8?q?=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Core/Logging/LoggerFactoryExtension.cs | 8 ++--
.../Snap.Hutao/UI/Xaml/Control/Theme/Uri.xaml | 42 +++++++++----------
.../Hutao/HutaoEndpointsForRelease.cs | 6 +--
.../Hutao/StaticResourcesEndpoints.cs | 2 +-
4 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Logging/LoggerFactoryExtension.cs b/src/Snap.Hutao/Snap.Hutao/Core/Logging/LoggerFactoryExtension.cs
index c97af87..f6f4a27 100644
--- a/src/Snap.Hutao/Snap.Hutao/Core/Logging/LoggerFactoryExtension.cs
+++ b/src/Snap.Hutao/Snap.Hutao/Core/Logging/LoggerFactoryExtension.cs
@@ -20,9 +20,9 @@ internal static class LoggerFactoryExtension
#if DEBUG || IS_ALPHA_BUILD || IS_CANARY_BUILD
// Alpha and Canary produces noisy events
- options.Dsn = "https://ec3799184191c344ca06c592cb97a464@sentry.snapgenshin.com/4";
+ options.Dsn = "https://2d3047ff2d451986bc7ef395d1f1fe63@o4507525750521856.ingest.us.sentry.io/4510413123682304";
#else
- options.Dsn = "https://1a1151ce5ac4e7f1536edf085bd483ec@sentry.snapgenshin.com/2";
+ options.Dsn = "https://2d3047ff2d451986bc7ef395d1f1fe63@o4507525750521856.ingest.us.sentry.io/4510413123682304";
#endif
#if DEBUG
@@ -36,8 +36,8 @@ internal static class LoggerFactoryExtension
options.Environment = GetBuildEnvironment();
// Suppress logs to generate events and breadcrumbs
- options.MinimumBreadcrumbLevel = LogLevel.None;
- options.MinimumEventLevel = LogLevel.None;
+ options.MinimumBreadcrumbLevel = LogLevel.Information;
+ options.MinimumEventLevel = LogLevel.Error;
options.ProfilesSampleRate = 1.0D;
options.TracesSampleRate = 1.0D;
diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/Uri.xaml b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/Uri.xaml
index caecc23..85883d9 100644
--- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/Uri.xaml
+++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/Uri.xaml
@@ -13,32 +13,32 @@
https://launcher-webstatic.mihoyo.com/launcher-public/2024/04/15/9ebf1bc5af2d83ca5fca21adb49cf341_2571779162329842818.png
- http://serverjp.wdg.cloudns.ch:8001/static/raw/AvatarCard/UI_AvatarIcon_Costume_Card.png
+ https://htserver.wdg.cloudns.ch/static/raw/AvatarCard/UI_AvatarIcon_Costume_Card.png
- http://serverjp.wdg.cloudns.ch:8001/static/raw/Bg/UI_ItemIcon_None.png
+ https://htserver.wdg.cloudns.ch/static/raw/Bg/UI_ItemIcon_None.png
- http://serverjp.wdg.cloudns.ch:8001/static/raw/Mark/UI_MarkQuest_Events_Proce.png
- http://serverjp.wdg.cloudns.ch:8001/static/raw/Mark/UI_MarkQuest_Events_Start.png
- http://serverjp.wdg.cloudns.ch:8001/static/raw/Mark/UI_MarkQuest_Main_Proce.png
- http://serverjp.wdg.cloudns.ch:8001/static/raw/Mark/UI_MarkQuest_Main_Start.png
- http://serverjp.wdg.cloudns.ch:8001/static/raw/Mark/UI_MarkTower.png
+ https://htserver.wdg.cloudns.ch/static/raw/Mark/UI_MarkQuest_Events_Proce.png
+ https://htserver.wdg.cloudns.ch/static/raw/Mark/UI_MarkQuest_Events_Start.png
+ https://htserver.wdg.cloudns.ch/static/raw/Mark/UI_MarkQuest_Main_Proce.png
+ https://htserver.wdg.cloudns.ch/static/raw/Mark/UI_MarkQuest_Main_Start.png
+ https://htserver.wdg.cloudns.ch/static/raw/Mark/UI_MarkTower.png
- http://serverjp.wdg.cloudns.ch:8001/static/raw/ItemIcon/UI_ItemIcon_106.png
- http://serverjp.wdg.cloudns.ch:8001/static/raw/ItemIcon/UI_ItemIcon_204.png
- http://serverjp.wdg.cloudns.ch:8001/static/raw/ItemIcon/UI_ItemIcon_210.png
- http://serverjp.wdg.cloudns.ch:8001/static/raw/ItemIcon/UI_ItemIcon_220021.png
+ https://htserver.wdg.cloudns.ch/static/raw/ItemIcon/UI_ItemIcon_106.png
+ https://htserver.wdg.cloudns.ch/static/raw/ItemIcon/UI_ItemIcon_204.png
+ https://htserver.wdg.cloudns.ch/static/raw/ItemIcon/UI_ItemIcon_210.png
+ https://htserver.wdg.cloudns.ch/static/raw/ItemIcon/UI_ItemIcon_220021.png
- http://serverjp.wdg.cloudns.ch:8001/static/raw/EmotionIcon/UI_EmotionIcon52.png
- http://serverjp.wdg.cloudns.ch:8001/static/raw/EmotionIcon/UI_EmotionIcon71.png
- http://serverjp.wdg.cloudns.ch:8001/static/raw/EmotionIcon/UI_EmotionIcon89.png
- http://serverjp.wdg.cloudns.ch:8001/static/raw/EmotionIcon/UI_EmotionIcon250.png
- http://serverjp.wdg.cloudns.ch:8001/static/raw/EmotionIcon/UI_EmotionIcon271.png
- http://serverjp.wdg.cloudns.ch:8001/static/raw/EmotionIcon/UI_EmotionIcon272.png
- http://serverjp.wdg.cloudns.ch:8001/static/raw/EmotionIcon/UI_EmotionIcon293.png
- http://serverjp.wdg.cloudns.ch:8001/static/raw/EmotionIcon/UI_EmotionIcon433.png
- http://serverjp.wdg.cloudns.ch:8001/static/raw/EmotionIcon/UI_EmotionIcon445.png
- http://serverjp.wdg.cloudns.ch:8001/static/raw/EmotionIcon/UI_EmotionIcon585.png
+ https://htserver.wdg.cloudns.ch/static/raw/EmotionIcon/UI_EmotionIcon52.png
+ https://htserver.wdg.cloudns.ch/static/raw/EmotionIcon/UI_EmotionIcon71.png
+ https://htserver.wdg.cloudns.ch/static/raw/EmotionIcon/UI_EmotionIcon89.png
+ https://htserver.wdg.cloudns.ch/static/raw/EmotionIcon/UI_EmotionIcon250.png
+ https://htserver.wdg.cloudns.ch/static/raw/EmotionIcon/UI_EmotionIcon271.png
+ https://htserver.wdg.cloudns.ch/static/raw/EmotionIcon/UI_EmotionIcon272.png
+ https://htserver.wdg.cloudns.ch/static/raw/EmotionIcon/UI_EmotionIcon293.png
+ https://htserver.wdg.cloudns.ch/static/raw/EmotionIcon/UI_EmotionIcon433.png
+ https://htserver.wdg.cloudns.ch/static/raw/EmotionIcon/UI_EmotionIcon445.png
+ https://htserver.wdg.cloudns.ch/static/raw/EmotionIcon/UI_EmotionIcon585.png
diff --git a/src/Snap.Hutao/Snap.Hutao/Web/Endpoint/Hutao/HutaoEndpointsForRelease.cs b/src/Snap.Hutao/Snap.Hutao/Web/Endpoint/Hutao/HutaoEndpointsForRelease.cs
index 2e63abb..60fd614 100644
--- a/src/Snap.Hutao/Snap.Hutao/Web/Endpoint/Hutao/HutaoEndpointsForRelease.cs
+++ b/src/Snap.Hutao/Snap.Hutao/Web/Endpoint/Hutao/HutaoEndpointsForRelease.cs
@@ -6,9 +6,9 @@ namespace Snap.Hutao.Web.Endpoint.Hutao;
[Service(ServiceLifetime.Singleton, typeof(IHutaoEndpoints), Key = HutaoEndpointsKind.Release)]
internal sealed class HutaoEndpointsForRelease : IHutaoEndpoints
{
- string IHomaRootAccess.Root { get => "http://server.wdg.cloudns.ch:5222"; }
+ string IHomaRootAccess.Root { get => "https://htserver.wdg.cloudns.ch/api"; }
- string IInfrastructureRootAccess.Root { get => "http://server.wdg.cloudns.ch:5222"; }
+ string IInfrastructureRootAccess.Root { get => "https://htserver.wdg.cloudns.ch/api"; }
- string IInfrastructureRawRootAccess.RawRoot { get => "http://server.wdg.cloudns.ch:5222"; }
+ string IInfrastructureRawRootAccess.RawRoot { get => "https://htserver.wdg.cloudns.ch/api"; }
}
\ No newline at end of file
diff --git a/src/Snap.Hutao/Snap.Hutao/Web/Endpoint/Hutao/StaticResourcesEndpoints.cs b/src/Snap.Hutao/Snap.Hutao/Web/Endpoint/Hutao/StaticResourcesEndpoints.cs
index 446e394..ed22b60 100644
--- a/src/Snap.Hutao/Snap.Hutao/Web/Endpoint/Hutao/StaticResourcesEndpoints.cs
+++ b/src/Snap.Hutao/Snap.Hutao/Web/Endpoint/Hutao/StaticResourcesEndpoints.cs
@@ -5,7 +5,7 @@ namespace Snap.Hutao.Web.Endpoint.Hutao;
internal static class StaticResourcesEndpoints
{
- public static string Root { get => "http://server.wdg.cloudns.ch:8007"; }
+ public static string Root { get => "https://htserver.wdg.cloudns.ch"; }
public static Uri UIIconNone { get; } = StaticRaw("Bg", "UI_Icon_None.png").ToUri();