remove unnecessary log
This commit is contained in:
parent
0b6730c06f
commit
dea9f4c063
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ export async function exportPage(data: IExportPageParams): Promise<void> {
|
||||||
const req = await api.post("/pages/export", data, {
|
const req = await api.post("/pages/export", data, {
|
||||||
responseType: "blob",
|
responseType: "blob",
|
||||||
});
|
});
|
||||||
console.log(req?.headers);
|
|
||||||
const fileName = req?.headers["content-disposition"]
|
const fileName = req?.headers["content-disposition"]
|
||||||
.split("filename=")[1]
|
.split("filename=")[1]
|
||||||
.replace(/"/g, "");
|
.replace(/"/g, "");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue