Skip to content

Commit 38df7c6

Browse files
committed
Make the dictionary and faqs use the new GH_PAGES_URL
1 parent d4bb138 commit 38df7c6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

source/views/dictionary/list.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ import uniq from 'lodash/uniq'
2121
import words from 'lodash/words'
2222
import deburr from 'lodash/deburr'
2323
import * as defaultData from '../../../docs/dictionary.json'
24+
import {GH_PAGES_URL} from '../../globals'
2425

25-
const GITHUB_URL = 'https://stodevx.github.io/AAO-React-Native/dictionary.json'
26+
const GITHUB_URL = GH_PAGES_URL('dictionary.json')
2627
const ROW_HEIGHT = Platform.OS === 'ios' ? 76 : 89
2728
const SECTION_HEADER_HEIGHT = Platform.OS === 'ios' ? 33 : 41
2829

source/views/faqs/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ import {reportNetworkProblem} from '../../lib/report-network-problem'
77
import LoadingView from '../components/loading'
88
import * as defaultData from '../../../docs/faqs.json'
99
import delay from 'delay'
10+
import {GH_PAGES_URL} from '../../globals'
1011

11-
const faqsUrl = 'https://stodevx.github.io/AAO-React-Native/faqs.json'
12+
const faqsUrl = GH_PAGES_URL('faqs.json')
1213

1314
type Props = {}
1415

0 commit comments

Comments
 (0)