Skip to content

Commit

Permalink
Update De Lijn urls
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonVanneste committed Nov 5, 2018
1 parent 134706d commit 769526d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
4 changes: 4 additions & 0 deletions src/Planner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ import defaultContainer from "./inversify.config";
import IQueryRunner from "./query-runner/IQueryRunner";
import TYPES from "./types";

if (!Symbol.asyncIterator) {
(Symbol as any).asyncIterator = Symbol.for("Symbol.asyncIterator");
}

export default class Planner {
private context: Context;
private queryRunner: IQueryRunner;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import IConnection from "../IConnection";
import ConnectionsFetcherLDFetch from "./ConnectionsFetcherLDFetch";
import ConnectionsIteratorLDFetch from "./ConnectionsIteratorLDFetch";

const DE_LIJN_BASE_URL = "https://belgium.linkedconnections.org/delijn/West-Vlaanderen/connections";
const DE_LIJN_BASE_URL = "http://openplanner.ilabt.imec.be/delijn/West-Vlaanderen/connections";

@injectable()
export default class ConnectionsFetcherDeLijn extends ConnectionsFetcherLDFetch {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import IConnection from "../IConnection";
import IConnectionsFetcher from "../IConnectionsFetcher";
import IConnectionsFetcherConfig from "../IConnectionsFetcherConfig";

(Symbol as any).asyncIterator = Symbol.asyncIterator || Symbol.for("Symbol.asyncIterator");

@injectable()
export default abstract class ConnectionsFetcherLDFetch implements IConnectionsFetcher {
Expand Down
10 changes: 5 additions & 5 deletions src/fetcher/stops/StopsFetcherDeLijn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import IStopsFetcher from "./IStopsFetcher";
import StopsFetcherLDFetch from "./StopsFetcherLDFetch";

const STOPS_URLS = [
"https://belgium.linkedconnections.org/delijn/Antwerpen/stops",
"https://belgium.linkedconnections.org/delijn/Oost-Vlaanderen/stops",
"https://belgium.linkedconnections.org/delijn/West-Vlaanderen/stops",
"https://belgium.linkedconnections.org/delijn/Vlaams-Brabant/stops",
"https://belgium.linkedconnections.org/delijn/Limburg/stops",
"http://openplanner.ilabt.imec.be/delijn/Antwerpen/stops",
"http://openplanner.ilabt.imec.be/delijn/Oost-Vlaanderen/stops",
"http://openplanner.ilabt.imec.be/delijn/West-Vlaanderen/stops",
"http://openplanner.ilabt.imec.be/delijn/Vlaams-Brabant/stops",
"http://openplanner.ilabt.imec.be/delijn/Limburg/stops",
];

@injectable()
Expand Down

0 comments on commit 769526d

Please sign in to comment.