Commit 0863b192 authored by Rifka Kurnia's avatar Rifka Kurnia

Merge branch 'rifka' into 'master'

link download md cat

See merge request !1219
parents a556c587 819d9311
......@@ -765,10 +765,10 @@ export default class MasterDataCAT extends Component {
}
downloadDataTable = async () => {
let url = `${process.env.REACT_APP_URL_MAIN_BE}/item_report_company/export_item_report_company`
let url = `${process.env.REACT_APP_URL_MAIN_BE}/public/item_report_company/export_item_report_company`
console.log(url)
let res = await fetch(
`${process.env.REACT_APP_URL_MAIN_BE}/item_report_company/export_item_report_company`
`${process.env.REACT_APP_URL_MAIN_BE}/public/item_report_company/export_item_report_company`
)
res = await res.blob()
// console.log(res)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment