config: handle agent mode in disableSubframes

This commit is contained in:
Adrià Arrufat committed 2026-05-12 09:00:07 +02:00
1 parent 7d312ce5e9
commit 19f8a1a2e5
1 file changed
+1 -1
+1 -1
View File
@@ -283,7 +283,7 @@ pub fn obeyRobots(self: *const Config) bool {
pub fn disableSubframes(self: *const Config) bool {
return switch (self.mode) {
inline .serve, .fetch, .mcp => |opts| opts.disable_subframes,
inline .serve, .fetch, .mcp, .agent => |opts| opts.disable_subframes,
else => unreachable,
};
}