Добавление общих складов и удаление пустых ни разу не использованных общих складов

This commit is contained in:
2025-12-08 23:35:14 +03:00
parent 2a04f71e0c
commit 307f970d28
17 changed files with 755 additions and 62 deletions
+1 -3
View File
@@ -1,8 +1,6 @@
// api.js
export async function apiRequest(url, payload = {}, method = 'POST') {
const finalUrl = new URL(url, window.location.origin).toString();
const res = await fetch(finalUrl, {
const res = await fetch(url, {
method,
headers: {
'Content-Type': 'application/json',