Skip to content

Commit

Permalink
fix: double https
Browse files Browse the repository at this point in the history
  • Loading branch information
vesameskanen committed Jan 16, 2025
1 parent 2aff690 commit ffa3f4d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/configurations/config.default.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const CONFIG = process.env.CONFIG || 'default';
const API_URL = process.env.API_URL || 'https://dev-api.digitransit.fi';
const GEOCODING_BASE_URL =
process.env.GEOCODING_BASE_URL || `${API_URL}/geocoding/v1`;
const MAP_URL = process.env.MAP_URL || 'https://https://dev-cdn.digitransit.fi';
const MAP_URL = process.env.MAP_URL || 'https://dev-cdn.digitransit.fi';
const MAP_VERSION = process.env.MAP_VERSION || 'v3';
const POI_MAP_PREFIX = `${MAP_URL}/map/v3/finland`;
const OTP_URL = process.env.OTP_URL || `${API_URL}/routing/v2/finland/`;
Expand Down
2 changes: 1 addition & 1 deletion app/configurations/config.hsl.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { BIKEAVL_WITHMAX } from '../util/vehicleRentalUtils';
const CONFIG = 'hsl';
const API_URL = process.env.API_URL || 'https://dev-api.digitransit.fi';
const OTP_URL = process.env.OTP_URL || `${API_URL}/routing/v2/hsl/`;
const MAP_URL = process.env.MAP_URL || 'https://https://dev-cdn.digitransit.fi';
const MAP_URL = process.env.MAP_URL || 'https://dev-cdn.digitransit.fi';
const POI_MAP_PREFIX = `${MAP_URL}/map/v3/hsl`;
const APP_DESCRIPTION = 'Helsingin seudun liikenteen Reittiopas.';
const HSLTimetables = require('./timetableConfigUtils').default.HSL;
Expand Down
2 changes: 1 addition & 1 deletion app/configurations/config.kela.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const APP_TITLE = 'Reittiopas';
const APP_DESCRIPTION = 'Digitransit-reittiopas';
const API_URL = process.env.API_URL || 'https://dev-api.digitransit.fi';
const OTP_URL = process.env.OTP_URL || `${API_URL}/routing/v2-kela/kela/`;
const MAP_URL = process.env.MAP_URL || 'https://https://dev-cdn.digitransit.fi';
const MAP_URL = process.env.MAP_URL || 'https://dev-cdn.digitransit.fi';
const POI_MAP_PREFIX = `${MAP_URL}/map/v3-kela/kela`;

export default {
Expand Down
2 changes: 1 addition & 1 deletion app/configurations/config.varely.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const API_URL = process.env.API_URL || 'https://dev-api.digitransit.fi';
const APP_TITLE = 'Seutu+ reittiopas';
const APP_DESCRIPTION = 'Varsinais-Suomen ELY-keskuksen reittiopas';
const OTP_URL = process.env.OTP_URL || `${API_URL}/routing/v2/varely/`;
const MAP_URL = process.env.MAP_URL || 'https://https://dev-cdn.digitransit.fi';
const MAP_URL = process.env.MAP_URL || 'https://dev-cdn.digitransit.fi';
const POI_MAP_PREFIX = `${MAP_URL}/map/v3/varely`;

const walttiConfig = require('./config.waltti').default;
Expand Down
2 changes: 1 addition & 1 deletion app/configurations/config.waltti.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const API_URL = process.env.API_URL || 'https://dev-api.digitransit.fi';
const OTP_URL = process.env.OTP_URL || `${API_URL}/routing/v2/waltti/`;
const MAP_URL = process.env.MAP_URL || 'https://https://dev-cdn.digitransit.fi';
const MAP_URL = process.env.MAP_URL || 'https://dev-cdn.digitransit.fi';
const POI_MAP_PREFIX = `${MAP_URL}/map/v3/waltti`;
const APP_DESCRIPTION = 'Digitransit-reittiopas';
const YEAR = 1900 + new Date().getYear();
Expand Down

0 comments on commit ffa3f4d

Please sign in to comment.