dev #3

Merged
JoeKung merged 34 commits from dev into int 2026-02-05 15:30:05 +01:00
Showing only changes of commit 82d1cf2c71 - Show all commits

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();