Hi,
I’m able to download the pdf via http://localhost:8080 succesfully , but I encounter an error when using a custom URL(attached screenshot). Is it possible to configure custom URLs to download the pdf? If so, could you please provide guidance on how to implement this?. We don't have access to external URLs on our servers. I added my custom url as follows.
createServer(options) {
const
me = this,
app = me.app = express();
options = Object.assign({
timeout : 5 * 60 * 1000,// 5 minutes
baseUrl: 'http://bavndevut.ramcouat.com:4652/dsktpuigfed/gapi', //custom URL
}, options);
//---existing logic--
// changed in setFile to access the url
setFile(host, request, file) {
const
me = this,
fileKey = nanoid(),
url = ${me.config.baseUrl}/${fileKey} // Use baseUrl from config
Thank you!