From 623e7a57716716ed5fe4e07acbaddb28b52835a0 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 2 Nov 2025 13:02:30 +0800 Subject: [PATCH] :bug: Fix magic spell use wrong url --- DysonNetwork.Pass/Account/MagicSpellService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DysonNetwork.Pass/Account/MagicSpellService.cs b/DysonNetwork.Pass/Account/MagicSpellService.cs index f053fa2..02522c8 100644 --- a/DysonNetwork.Pass/Account/MagicSpellService.cs +++ b/DysonNetwork.Pass/Account/MagicSpellService.cs @@ -79,7 +79,7 @@ public class MagicSpellService( .FirstOrDefaultAsync(); if (contact is null) throw new ArgumentException("Account has no contact method that can use"); - var link = $"{configuration.GetValue("BaseUrl")}/spells/{Uri.EscapeDataString(spell.Spell)}"; + var link = $"{configuration.GetValue("SiteUrl")}/spells/{Uri.EscapeDataString(spell.Spell)}"; logger.LogInformation("Sending magic spell... {Link}", link);