From 7f9ed23a8605ca418269453b0bb8e77a437ad770 Mon Sep 17 00:00:00 2001 From: Theis Gaedigk Date: Sat, 27 Sep 2025 22:56:17 +0200 Subject: [PATCH] changed links --- admin/src/components/APIKeyTable.tsx | 2 +- admin/src/utils/userActions.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/src/components/APIKeyTable.tsx b/admin/src/components/APIKeyTable.tsx index 2173ce3..184995e 100644 --- a/admin/src/components/APIKeyTable.tsx +++ b/admin/src/components/APIKeyTable.tsx @@ -51,7 +51,7 @@ const APIKeyTable: React.FC = () => { const fetchData = async () => { setIsLoading(true); try { - const response = await fetch("http://localhost:8002/api/apiKeys", { + const response = await fetch("https://backend.insta.the1s.de/api/apiKeys", { method: "GET", headers: { Authorization: `Bearer ${Cookies.get("token")}`, diff --git a/admin/src/utils/userActions.ts b/admin/src/utils/userActions.ts index 93e6ec9..dd2f7b3 100644 --- a/admin/src/utils/userActions.ts +++ b/admin/src/utils/userActions.ts @@ -216,7 +216,7 @@ export const changeSafeState = async (itemId: number) => { export const createAPIentry = async (apiKey: string, user: string) => { try { - const response = await fetch(`http://localhost:8002/api/createAPIentry`, { + const response = await fetch(`https://backend.insta.the1s.de/api/createAPIentry`, { method: "POST", headers: { "Content-Type": "application/json", @@ -237,7 +237,7 @@ export const createAPIentry = async (apiKey: string, user: string) => { export const deleteAPKey = async (apiKeyId: number) => { try { const response = await fetch( - `http://localhost:8002/api/deleteAPKey/${apiKeyId}`, + `https://backend.insta.the1s.de/api/deleteAPKey/${apiKeyId}`, { method: "DELETE", headers: {