fix service

This commit is contained in:
2023-04-29 20:26:49 +02:00
parent e42ecade5d
commit ff3fb43cb0
4 changed files with 20 additions and 18 deletions

View File

@@ -4,8 +4,8 @@ import {catchError, Observable} from "rxjs";
import {LocationEntity} from "../../interface/LocationEntity";
import {WaypointsEntity} from "../../interface/WaypointsEntity";
const BASE_URL = "localhost:8080/progetto152/";
const WAYPOINT_VISITED = BASE_URL + "waypoint/visited/";
const BASE_URL = "progetto152";
const WAYPOINT_VISITED = BASE_URL + "/waypoint/visited/";
const GET_WAYPOINT_BY_USER = WAYPOINT_VISITED + "USER/";
@@ -13,7 +13,7 @@ const GET_WAYPOINT_BY_USER = WAYPOINT_VISITED + "USER/";
providedIn: 'root',
})
export class LocationService {
export class WaypointVisitedService {
constructor(
private http: HttpClient,
) {