🐛 Fix magic spell use wrong url

This commit is contained in:
2025-11-02 13:02:30 +08:00
parent 0351a2b4fa
commit 623e7a5771

View File

@@ -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<string>("BaseUrl")}/spells/{Uri.EscapeDataString(spell.Spell)}";
var link = $"{configuration.GetValue<string>("SiteUrl")}/spells/{Uri.EscapeDataString(spell.Spell)}";
logger.LogInformation("Sending magic spell... {Link}", link);