changed links

This commit is contained in:
2025-09-27 22:56:17 +02:00
parent 21b152ef2b
commit 7f9ed23a86
2 changed files with 3 additions and 3 deletions

View File

@@ -51,7 +51,7 @@ const APIKeyTable: React.FC = () => {
const fetchData = async () => { const fetchData = async () => {
setIsLoading(true); setIsLoading(true);
try { try {
const response = await fetch("http://localhost:8002/api/apiKeys", { const response = await fetch("https://backend.insta.the1s.de/api/apiKeys", {
method: "GET", method: "GET",
headers: { headers: {
Authorization: `Bearer ${Cookies.get("token")}`, Authorization: `Bearer ${Cookies.get("token")}`,

View File

@@ -216,7 +216,7 @@ export const changeSafeState = async (itemId: number) => {
export const createAPIentry = async (apiKey: string, user: string) => { export const createAPIentry = async (apiKey: string, user: string) => {
try { try {
const response = await fetch(`http://localhost:8002/api/createAPIentry`, { const response = await fetch(`https://backend.insta.the1s.de/api/createAPIentry`, {
method: "POST", method: "POST",
headers: { headers: {
"Content-Type": "application/json", "Content-Type": "application/json",
@@ -237,7 +237,7 @@ export const createAPIentry = async (apiKey: string, user: string) => {
export const deleteAPKey = async (apiKeyId: number) => { export const deleteAPKey = async (apiKeyId: number) => {
try { try {
const response = await fetch( const response = await fetch(
`http://localhost:8002/api/deleteAPKey/${apiKeyId}`, `https://backend.insta.the1s.de/api/deleteAPKey/${apiKeyId}`,
{ {
method: "DELETE", method: "DELETE",
headers: { headers: {