Commit 5a48d57b authored by rifkaki's avatar rifkaki

link download md cat

parent 5a6a3fce
......@@ -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