79428118

Date: 2025-02-10 19:41:10
Score: 0.5
Natty:
Report link

Try using full url on the request, like:

export async function loader({request}: LoaderFunctionArgs) {
  const url = new URL(request.url);
  const txt = await (await fetch(`${url}/test.txt`)).text();

  console.log('TXT', {txt});

  return json({txt});
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Zeindelf