Answer first visits to / and favicon with an instant WordPress lure
Build and deploy / build (push) Successful in 1m33s
Build and deploy / deploy (push) Successful in 20s

Unknown IPs get a small WordPress-looking page or icon and are not held;
later requests are trapped as before. Switch: Flypaper__Drip__Lure.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
TomandClaude Sonnet 5.5 committed 2026-11-21 12:57:29 +01:00
1 parent 2437880013
commit 4b946453fb
18 files changed
+360 -2

No files matched your search

@@ -19,6 +19,12 @@ public sealed class ConfiguredStrategySelector(
return robots;
}
if (context.IsNewIp && options.CurrentValue.Lure && LureContent.Handles(context.Path)
&& candidates.FirstOrDefault(strategy => strategy.Name == (context.Path == LureContent.PagePath ? LureStrategy.PageName : LureStrategy.IconName)) is { } lure)
{
return lure;
}
if (BaitPaths.Matches(BaitPaths.Parse(options.CurrentValue.BaitPaths), context.Path)
&& candidates.FirstOrDefault(strategy => strategy.Name == MazeDripStrategy.BaitName) is { } bait)
{