mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 15:14:08 +00:00
Update README.md
This commit is contained in:
parent
8078b96d3f
commit
47ecb13d7b
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ $ zig build run-routes
|
|||
const std = @import("std");
|
||||
const zap = @import("zap");
|
||||
|
||||
fn on_request(r: zap.Request) void {
|
||||
fn on_request(r: zap.Request) !void {
|
||||
if (r.path) |the_path| {
|
||||
std.debug.print("PATH: {s}\n", .{the_path});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue