Since all interfaces in our system have permission verification, all interfaces need to add user Token information. Then how to add this parameter here?
pdfExport : {
exportServer : environment.api+ '/app/project-task/Generate-Gantt-Pdf',
// Development config
translateURLsToAbsolute :true,
openAfterExport:true,
openInNewTab:false,
listeners: {
beforeRequest:(data)=>{
console.log(data)
}
},
// For production replace with this one. See README.md for explanation
// translateURLsToAbsolute : 'http://localhost:8080/resources/', // Trailing slash is important
keepPathName : false
},