Update ProjectLighthouse.Servers.Website/Pages/Debug/FilterTestPage.cshtml.cs

Co-authored-by: sudokoko <sudo@koko.rip>
This commit is contained in:
FeTetra 2024-11-15 00:04:39 -05:00 committed by GitHub
commit 967231603d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,7 +19,7 @@ public class FilterTestPage : BaseLayout
public IActionResult OnGet(string? text = null) public IActionResult OnGet(string? text = null)
{ {
#if DEBUG #if DEBUG
if (text != null) this.FilteredText = CensorHelper.FilterMessage(text, "test filter", null); if (text != null) this.FilteredText = CensorHelper.FilterMessage(text, "test filter");
this.Text = text; this.Text = text;
return this.Page(); return this.Page();