From 36c04b18d2a85a72b7168f695963d891fab4d1b8 Mon Sep 17 00:00:00 2001 From: "Satur@it-depot.ru" Date: Wed, 5 Mar 2025 16:41:19 +0300 Subject: [PATCH] fix2 --- docker-compose.yml | 2 +- templates/index.html | 33 +++++++++++++++++---------------- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 086469a..a44e74c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,7 @@ services: build: . ports: - "8001:8001" # Порт для GET-запросов (веб-интерфейс) - - "8002:8002" # Порт для POST-запросов (API) + - "8002:8002" # Порт для POST, PUT, DELETE-запросов (API) volumes: - ./db:/db restart: unless-stopped \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 2aef772..bd22f67 100644 --- a/templates/index.html +++ b/templates/index.html @@ -115,7 +115,8 @@