diff --git a/functions/api/nreDepartures/v1/[[departures]].js b/functions/api/raildata/departures/v1/[[departures]].js similarity index 98% rename from functions/api/nreDepartures/v1/[[departures]].js rename to functions/api/raildata/departures/v1/[[departures]].js index 1621abe..8e4259f 100644 --- a/functions/api/nreDepartures/v1/[[departures]].js +++ b/functions/api/raildata/departures/v1/[[departures]].js @@ -1,4 +1,4 @@ -import { USER_AGENT } from "../../../../functions-src/util"; +import { USER_AGENT } from "../../../../../functions-src/util"; // TODO: allow these values to be customised through request params const NUM_SERVICES = 4;