fix(node): return 404 for unknown prerendered endpoints (#17400)