From 895786b405a2c2cf00ad7f198b4ed270a36644f6 Mon Sep 17 00:00:00 2001 From: dvirlabs Date: Fri, 5 Dec 2025 16:23:03 +0200 Subject: [PATCH] Fix backend --- backend/requirements.txt | 4 ++-- frontend/public/env.js.template | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 frontend/public/env.js.template diff --git a/backend/requirements.txt b/backend/requirements.txt index 4a7c97f..8933c6e 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -1,5 +1,5 @@ -fastapi==0.103.2 -uvicorn[standard]==0.23.2 +fastapi==0.115.0 +uvicorn[standard]==0.30.1 pydantic==2.7.4 python-dotenv==1.0.1 diff --git a/frontend/public/env.js.template b/frontend/public/env.js.template new file mode 100644 index 0000000..d289065 --- /dev/null +++ b/frontend/public/env.js.template @@ -0,0 +1,3 @@ +window.__ENV__ = { + API_BASE: "${API_BASE:-http://localhost:8000}" +};