diff --git a/src/api/client.ts b/src/api/client.ts
index 0e8bb74..693994c 100644
--- a/src/api/client.ts
+++ b/src/api/client.ts
@@ -673,6 +673,7 @@ export class Api<
}
export const client = new Api({
- baseUrl: 'http://localhost:8080',
+ baseUrl: 'r',
+ // baseUrl: 'https://carey-novelty-various-manufacturers.trycloudflare.com',
customFetch
});
\ No newline at end of file
diff --git a/src/api/httpClientAdapter.server.ts b/src/api/httpClientAdapter.server.ts
index 6152e73..0da3ffb 100644
--- a/src/api/httpClientAdapter.server.ts
+++ b/src/api/httpClientAdapter.server.ts
@@ -10,7 +10,8 @@ export const customFetch = async (url: string, options: RequestInit) => {
Object.assign(options, {
headers: c.req.header()
});
- const res = await fetch(url, options);
+ const res = await fetch(["https://carey-novelty-various-manufacturers.trycloudflare.com", url.replace(/r\//, '')].join('/'), options);
+ console.log('Fetching URL:', res);
res.headers.forEach((value, key) => {
c.header(key, value);
});
diff --git a/src/components/DashboardLayout.vue b/src/components/DashboardLayout.vue
index 38c2650..3f6a9ad 100644
--- a/src/components/DashboardLayout.vue
+++ b/src/components/DashboardLayout.vue
@@ -6,11 +6,8 @@ import Video from "@/components/icons/Video.vue";
import Credit from "@/components/icons/Credit.vue";
import Upload from "./icons/Upload.vue";
import { cn } from "@/lib/utils";
-import { useAuthStore } from "@/stores/auth";
import { createStaticVNode } from "vue";
-const auth = useAuthStore();
-
const className = ":uno: w-12 h-12 p-2 rounded-2xl hover:bg-primary/15 flex press-animated items-center justify-center";
const homeHoist = createStaticVNode(`
`, 1);
const profileHoist = createStaticVNode(`