Backend: Point to new CORPUS URL
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
75eabc4c2c
commit
faeeddac35
@ -29,7 +29,7 @@ async function get() {
|
|||||||
async function fetch() {
|
async function fetch() {
|
||||||
log.out("corpus.fetch: Fetching CORPUS Data from Network Rail")
|
log.out("corpus.fetch: Fetching CORPUS Data from Network Rail")
|
||||||
authHead = Buffer.from(`${corpusUser}:${corpusPass}`).toString('base64')
|
authHead = Buffer.from(`${corpusUser}:${corpusPass}`).toString('base64')
|
||||||
const url = 'https://datafeeds.networkrail.co.uk/ntrod/SupportingFileAuthenticate?type=CORPUS'
|
const url = 'https://publicdatafeeds.networkrail.co.uk/ntrod/SupportingFileAuthenticate?type=CORPUS'
|
||||||
const options = {
|
const options = {
|
||||||
method: 'get',
|
method: 'get',
|
||||||
timeout: 20000,
|
timeout: 20000,
|
||||||
|
Reference in New Issue
Block a user