Ajout des variables d'environemment

This commit is contained in:
ElPoyo
2025-09-29 11:56:48 +02:00
parent b4a468c14b
commit 45f76cc5c8
8 changed files with 42 additions and 11 deletions

View File

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