File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ import {upgradeMenuItem, upgradeStation} from './lib/process-menu-shorthands'
2020import { data as fallbackMenu } from '../../../docs/pause-menu.json'
2121import { tracker } from '../../analytics'
2222import bugsnag from '../../bugsnag'
23- const CENTRAL_TZ = 'America/Winnipeg '
23+ import { GH_PAGES_URL } from '../../globals '
2424
25- const githubMenuBaseUrl = 'https://stodevx.github.io/AAO-React-Native '
25+ const CENTRAL_TZ = 'America/Winnipeg '
2626
2727type Props = TopLevelViewPropsType & {
2828 name : string ,
@@ -59,7 +59,7 @@ export class GitHubHostedMenu extends React.PureComponent<Props, State> {
5959 let stationMenus : StationMenuType [ ] = [ ]
6060 let corIcons : MasterCorIconMapType = { }
6161 try {
62- let container = await fetchJson ( ` ${ githubMenuBaseUrl } / pause-menu.json` )
62+ let container = await fetchJson ( GH_PAGES_URL ( ' pause-menu.json' ) )
6363 let data = container . data
6464 foodItems = data . foodItems || [ ]
6565 stationMenus = data . stationMenus || [ ]
You can’t perform that action at this time.
0 commit comments