making room for context to add to the props

This commit is contained in:
Alan Daniels 2025-11-02 15:55:01 +11:00
parent 5aede0d096
commit ce67365a49
7 changed files with 44 additions and 26 deletions

View file

@ -467,7 +467,7 @@ pub fn Create(
if (r.path) |unsan_p| {
const p = sanitizePath(unsan_p);
for (_static.endpoints.items) |interface| {
if (std.mem.startsWith(u8, p, interface.path) and std.mem.eql(u8, p, interface.path)) {
if (std.mem.eql(u8, p, interface.path)) {
return interface.call(interface, r) catch |err| {
// if error is not dealt with in the interface, e.g.
// if error strategy is .raise: