change url for docker container

This commit is contained in:
smanylov
2025-12-03 21:05:09 +07:00
parent b78a392d11
commit ac2fd7c8e0
5 changed files with 32 additions and 13 deletions
+3 -2
View File
@@ -1,9 +1,10 @@
'use server'
import { getSessionData } from '@/app/lib/session';
import { localDevelopmentUrl } from '@/app/lib/definitions';
const API_BASE_URL = process.env.NODE_ENV === 'development'
? 'http://localhost'
: '';
? localDevelopmentUrl
: 'http://no_copy_app:8080';
const FRUITS_URL = 'https://www.fruityvice.com/api/fruit/';
const ALL = 'all';