Test-app/app/routes/app.proxy.tsx

9 lines
241 B
TypeScript

import { LoaderFunctionArgs } from "@remix-run/node";
export async function loader({ request }: LoaderFunctionArgs) {
return new Response("Hello World", {
headers: {
"Content-Type": "text/plain",
},
});
}