feat(web) back-end routing
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user