|
|
@@ -16,7 +16,7 @@ import { StorageService } from 'src/app/services/storage.service'; // Assurez-vo
|
|
|
providedIn: 'root'
|
|
|
})
|
|
|
export class AuthService {
|
|
|
- private apiUrl = environment.apiUrl;
|
|
|
+ private apiUrl = `https://api-preprod.foodgame.fr`;
|
|
|
private currentUserSubject: BehaviorSubject<User> = new BehaviorSubject<User>(null);
|
|
|
public currentUser: Observable<User> = this.currentUserSubject.asObservable();
|
|
|
private tokenSubject: BehaviorSubject<Token>;
|