Add configuration files and update API URL in MeteocatService

- Created .dockerignore, .editorconfig, .gitignore, .prettierrc, .vscode configurations (extensions.json, launch.json, mcp.json, tasks.json).
- Updated nginx.conf to include API proxy settings.
- Changed apiUrl in MeteocatService to use relative path.
This commit is contained in:
xavs
2026-05-18 09:36:15 +02:00
parent 68a4de6836
commit 355729ddcf
10 changed files with 216 additions and 1 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ import { EstacioMesCercanaResponse } from '../models/estacio-mes-cercana.model';
providedIn: 'root'
})
export class MeteocatService {
private readonly apiUrl = 'http://localhost:8080/api/v1';
private readonly apiUrl = '/api/v1';
constructor(private http: HttpClient) { }