Skip to content

Commit

Permalink
Update Argo layer
Browse files Browse the repository at this point in the history
Enabled HTTPS thanks to @abussani
  • Loading branch information
geel97 authored Jul 11, 2023
1 parent b331763 commit 6b960cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/services/layers.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class LayersService {
let argoPoints = new VectorLayer({
source: new VectorSource({
url:
'http://maosapi.ogs.it/v0.1/time-markers-def' +
'https://maosapi.ogs.it/v0.1/time-markers-def' +
'?type=drifter,float,glider' +
'&date_from=' +
DateFunctions.daysAgoMidnightUTC(30).toISOString().substring(0, 10),
Expand Down Expand Up @@ -280,7 +280,7 @@ export class LayersService {
};

getArgoTrejectory(type: string, id: number): Observable<Feature<Geometry>> {
let url = 'http://maosapi.ogs.it/v0.1/trajectory?' + 'type=' + type + '&id=' + id;
let url = 'https://maosapi.ogs.it/v0.1/trajectory?' + 'type=' + type + '&id=' + id;

return this.http.get(url).pipe(
map((result: any) => {
Expand Down

0 comments on commit 6b960cc

Please sign in to comment.