Modif docker + ajout de la fonction de text aléatoire

This commit is contained in:
ElPoyo
2025-09-29 16:48:38 +02:00
parent 5d0993bda3
commit 4e11fd9a06
5 changed files with 43 additions and 7 deletions

View File

@@ -2,7 +2,7 @@
* Service pour communiquer avec l'API backend des textes
*/
const API_BASE_URL = 'VITE_TEXTS_API_URL_PLACEHOLDER'
const API_BASE_URL = import.meta.env.VITE_TEXTS_API_URL || 'http://localhost:3000/api'
export class TextService {
constructor() {