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:
@@ -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) { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user