Changement dans la config pour éviter les url en dur + mise en place d'un mode démo
This commit is contained in:
@@ -9,7 +9,7 @@ import { Template, TemplateCreate } from './template.model';
|
||||
*/
|
||||
@Injectable({ providedIn: 'root' })
|
||||
export class TemplateService {
|
||||
private apiUrl = 'http://localhost:8080/api/templates';
|
||||
private apiUrl = '/api/templates';
|
||||
|
||||
constructor(private http: HttpClient) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user