and in my Astro test page which should load some data from the backend it looks the following: ```ts

and in my Astro test page which should load some data from the backend it looks the following:
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 :(";
}


This is a cross-reference doing something twice loop-hole and I really dont think this is intentional behaviour........
Was this page helpful?