im eating spaghetti with mushrooms right now its delicious
im eating spaghetti with mushrooms right now its delicious

exlude: ["/api/*"] I get the following error from pages:(log) TypeError: Fetch API cannot load: /api/v1/pingdashboard.ruxiom.dev
/api/[...request].js route (which is an api route) in my pages folder./ insteadrobots.txt on the pages.dev for some reason.robots.txt. That's all a little weird.robot.txt.exlude: ["/api/*"](log) TypeError: Fetch API cannot load: /api/v1/pingdashboard.ruxiom.dev0:23:57.383 Deploying your site to Cloudflare's global network...
20:24:00.014 Uploading... (0/26)
20:24:00.742 Uploading... (9/26)
20:24:00.898 Uploading... (17/26)
20:24:01.763 Uploading... (26/26)
20:24:01.763 ✨ Success! Uploaded 26 files (2.31 sec)
20:24:01.763
20:24:02.295 ✨ Upload complete!
20:24:04.409 Success: Assets published!
20:24:05.495 Success: Your site was deployed!/api/[...request].jspagesrobots.txtrobots.txt $ cat _site/robots.txt
user-agent: *
disallow: /legal
disallow: /privacy
disallow: /cv
disallow: /links%
$ curl https://site-torstencurdt-com.pages.dev/robots.txt
<html lang="en-US">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
...
$ curl https://torstencurdt.com/robots.txt
<html lang="en-US">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
...robot.txtroute = { pattern = "dashboard.ruxiom.dev/api/*", zone_name = "ruxiom.dev" }export async function GET({ params }) {
const backendRequest = await fetch(
"https://dashboard.ruxiom.dev/api/" + params.request,
{
headers: {
"CF-Access-Client-Id": "something.access",
"CF-Access-Client-Secret":
"something different",
},
}
);
return backendRequest.clone();
}import "@/styles/globals.css";
import { cn } from "@/lib/utils";
let message = "Hello World";
try {
const api = await fetch("https://dashboard.ruxiom.dev/api/v1/ping");
message = await api.text();
} catch (error) {
console.log(error);
message = "Error or nothing found :(";
}