Skip to content

Commit

Permalink
trunk routes hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ahjyrkia committed Jul 1, 2022
1 parent 062d3e8 commit e89a506
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/util/domain.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,20 @@ import trunkIcon from 'icons/icon_trunk.svg';
import zoneByShortId from 'data/zoneByShortId';

// TODO: Get routes from api?
const TRUNK_ROUTES = ['20', '30', '40', '200', '500', '510', '550', '560', '570'];
const TRUNK_ROUTES = [
'20',
'30',
'40',
'200',
'500',
'510',
'550',
'560',
'570',
'300',
'400',
'600',
];
const RAIL_ROUTE_ID_REGEXP = /^300[12]/;
const SUBWAY_ROUTE_ID_REGEXP = /^31/;
const U_LINE_REGEX = /^7/;
Expand Down

0 comments on commit e89a506

Please sign in to comment.