Skip to content

Commit

Permalink
Switch to new vehicle positions mqtt service
Browse files Browse the repository at this point in the history
  • Loading branch information
hbruch committed Dec 12, 2024
1 parent 227ba6a commit 07de24f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions app/configurations/config.herrenberg.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ const STATIC_MESSAGE_URL =

const parentConfig = require('./config.stadtnavi.js').default;

const realtimeHbg = require('./realtimeUtils').default.hbg;
const hostname = new URL(API_URL);
realtimeHbg.mqtt = `wss://${hostname.host}/mqtt/`;

const minLat = 47.6020;
const maxLat = 49.0050;
const minLon = 8.4087;
Expand Down Expand Up @@ -234,8 +231,6 @@ export default configMerger(parentConfig, {

feedIds: ['hbg'],

realtime: { hbg: realtimeHbg },

searchSources: ['oa', 'osm'],

searchParams: {
Expand Down
2 changes: 1 addition & 1 deletion app/configurations/realtimeUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ export default {
},

// this value is overridden in config.herrenberg.js
mqtt: 'wss://api.dev.stadtnavi.eu/mqtt/',
mqtt: 'wss://vehiclepositions.stadtnavi.eu/mqtt/',

gtfsrt: true,

Expand Down

0 comments on commit 07de24f

Please sign in to comment.