import { NextRequest, NextResponse } from 'next/server';

const handler = (req: NextRequest) => {
  NextResponse.redirect('/proxy/zammad/api/v1' + req.url.substring('/api/v1'.length));
};

export { handler as GET, handler as POST };
