Skip to content

feat: fetch BO for GRDF access token

Bastien DUMONT requested to merge feat/grdf-access-token into dev

#28 (closed)

how to test

  1. launch BO server with backoffice-server!104 (merged)
  2. edit bo.js to allow fetching https://localhost without certificate

Add this content to the top of the file

const https = require('https')

const instance = axios.create({
  httpsAgent: new https.Agent({
    rejectUnauthorized: false,
  }),
})

and replace axios.get with instance.get

  1. yarn standalone
Edited by Bastien DUMONT

Merge request reports

Loading