Changement dans la config pour éviter les url en dur + mise en place d'un mode démo
This commit is contained in:
@@ -28,8 +28,8 @@ export interface LoreDeletionImpact {
|
||||
providedIn: 'root'
|
||||
})
|
||||
export class LoreService {
|
||||
private apiUrl = 'http://localhost:8080/api/lores';
|
||||
private nodesUrl = 'http://localhost:8080/api/lore-nodes';
|
||||
private apiUrl = '/api/lores';
|
||||
private nodesUrl = '/api/lore-nodes';
|
||||
|
||||
constructor(private http: HttpClient) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user