toevoeging baseApi + versienummer
All checks were successful
Docker Image CI / build-and-push (push) Successful in 2m16s
Docker Image CI / deploy (push) Successful in 33s

This commit is contained in:
2025-03-13 22:23:44 +01:00
parent 9ca282ca3f
commit 0ebf648017
11 changed files with 31 additions and 12 deletions

View File

@@ -3,13 +3,13 @@ import {HttpClient} from '@angular/common/http';
import {JwtHelperService} from '@auth0/angular-jwt';
import {Observable} from 'rxjs';
import {jwtDecode} from 'jwt-decode';
import {environment} from '../../environments/environment';
@Injectable({
providedIn: 'root',
})
export class AuthService {
// private baseApi = 'http://localhost:8080/api/auth/login';
baseApi = "https://api.melvanveen.nl/api/auth/login";
baseApi = `${environment.baseApi}/auth/login`;
jwtHelper = new JwtHelperService();
constructor(private http: HttpClient) {