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 @@