aboutsummaryrefslogtreecommitdiff
path: root/src/routes/context.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/context.zig')
-rw-r--r--src/routes/context.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/routes/context.zig b/src/routes/context.zig
index bc3e710..7c0ca4e 100644
--- a/src/routes/context.zig
+++ b/src/routes/context.zig
@@ -6,9 +6,11 @@ const Self = @This();
allocator: std.mem.Allocator,
request: *std.http.Server.Request,
storage: *Storage,
+fingerprint: []const u8,
user: ?[]const u8 = null,
response: struct {
headers: struct {
content_type: []const u8 = "application/json",
+ fingerprint: ?[]const u8 = null,
} = .{},
} = .{},