Changement dans la config pour éviter les url en dur + mise en place d'un mode démo

This commit is contained in:
2026-04-23 17:15:08 +02:00
parent 93deb73ade
commit 2e7d46cc63
21 changed files with 155 additions and 38 deletions

View File

@@ -10,7 +10,7 @@ import { Page, PageCreate } from './page.model';
*/
@Injectable({ providedIn: 'root' })
export class PageService {
private apiUrl = 'http://localhost:8080/api/pages';
private apiUrl = '/api/pages';
constructor(private http: HttpClient) {}