npx wrangler pages dev -- npm run start also works.. 
https://2f0267bb.headpat-web.pages.dev/(main) this kinda works it does a 404 instead lol

(main) as the folder name and just make it main and see if it works. Might be because of the non url safe characters
npx wrangler pages dev -- npm run starthttps://2f0267bb.headpat-web.pages.dev/(main)(main)export const runtime = 'edge';
export const metadata = {
title: 'Forgot password?',
};
export default function Page() {
return (
<>
<h1>Test</h1>
</>
);
} "outcome": "exception",
"scriptName": "pages-worker--2143245-production",
"diagnosticsChannelEvents": [],
"exceptions": [
{
"name": "Error",
"message": "The script will never generate a response.",
"timestamp": 1709395044277
}
],
"logs": [],
"eventTimestamp": 1709395044224,