Ajout des variables d'environemment
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user