remove unneeded env var

This commit is contained in:
2025-08-10 10:30:46 +01:00
parent 925a00c1e0
commit 00c4c986ea
2 changed files with 1 additions and 3 deletions

View File

@@ -57,8 +57,6 @@ services:
- backend
networks:
- recipe-network
environment:
- REACT_APP_API_URL=http://localhost:5000
# Optional: MongoDB Express for database management
mongo-express:

View File

@@ -1,6 +1,6 @@
import axios from 'axios';
const API_BASE_URL = process.env.REACT_APP_API_URL || 'http://localhost:5000/api';
const API_BASE_URL = process.env.REACT_APP_API_URL;
const api = axios.create({
baseURL: API_BASE_URL,