feat(web) back-end routing
All checks were successful
Build, Test and Deploy / test-backend (push) Successful in 15s
Build, Test and Deploy / build-and-push (push) Successful in 23s
Build, Test and Deploy / deploy (push) Successful in 4s

This commit is contained in:
2026-01-31 17:46:35 +01:00
parent 85d7315e30
commit 82d1cf2c71

View File

@@ -1,13 +1,14 @@
import { Injectable, inject } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs';
import { environment } from '../environments/environment';
@Injectable({
providedIn: 'root'
})
export class PrintService {
private http = inject(HttpClient);
private apiUrl = 'http://127.0.0.1:8000'; // Should be in environment
private apiUrl = environment.apiUrl;
calculateQuote(file: File, params?: any): Observable<any> {
const formData = new FormData();