chaged ports accordingly

This commit is contained in:
2025-09-16 13:04:13 +02:00
parent c4d5ebd9ae
commit 2143d53eb5

View File

@@ -196,9 +196,8 @@ export const handleEditItems = async (
export const changeSafeState = async (itemId: number) => { export const changeSafeState = async (itemId: number) => {
try { try {
const response = await fetch( const response = await fetch(
`http://localhost:8002/api/changeSafeState/${itemId}`, `https://backend.insta.the1s.de/api/changeSafeState/${itemId}`,
{ {
method: "PUT",
headers: { headers: {
Authorization: `Bearer ${Cookies.get("token")}`, Authorization: `Bearer ${Cookies.get("token")}`,
}, },