export default defineEventHandler((event) => {
  const url = event.node.req.url;
  
  // Check if the URL contains literal [id] which should be a parameter
  if (url && url.includes('/execution/form/[id]')) {
    // Redirect to a more appropriate error page or handle differently
    return sendRedirect(event, '/execution', 302);
  }
}); 