working test deploy config

This commit is contained in:
2026-06-19 22:55:00 -07:00
parent c4cc268ea8
commit f133d11123
18 changed files with 268 additions and 19 deletions
+2 -2
View File
@@ -2,15 +2,15 @@ import { Injectable, inject } from '@angular/core';
import { HttpClient, HttpParams } from '@angular/common/http';
import { Observable } from 'rxjs';
import { environment } from '../../environments/environment';
import { Event } from '../interfaces/event';
import { getAppConfig } from './app-config.service';
@Injectable({
providedIn: 'root',
})
export class EventService {
private http = inject(HttpClient);
private baseUrl = `${environment.apiBaseUrl}/api/events`;
private baseUrl = `${getAppConfig().apiBaseUrl}/api/events`;
/** Fetch events, optionally filtered by active status. */
getEvents(active?: boolean): Observable<Event[]> {