🚀 🐛 fix api urls.

main
bog 2024-02-07 20:47:19 +01:00
parent 2163f7bb6b
commit 90fccd36a1
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ BUDJETO_PRODUCTION = os.getenv('BUDJETO_PRODUCTION') == 'ON'
if BUDJETO_PRODUCTION: if BUDJETO_PRODUCTION:
DEBUG = False DEBUG = False
ALLOWED_HOSTS = ['127.0.0.1', 'localhost'] ALLOWED_HOSTS = ['127.0.0.1', 'localhost', 'shellbox']
SECRET_KEY = os.getenv('BUDJETO_SECRET') SECRET_KEY = os.getenv('BUDJETO_SECRET')

View File

@ -6,7 +6,7 @@ services:
container_name: budjeto_frontend container_name: budjeto_frontend
restart: always restart: always
environment: environment:
- 'REACT_APP_API=http://localhost:12764' - 'REACT_APP_API=https://apibudjeto.shellbox.fr'
ports: ports:
- 32145:3000 - 32145:3000
backend: backend: