Sorry if this is a super basic question, I'm still trying to figure out how a lot of this works.
I'm building an app for jira software cloud with ACE. I'm trying to make just a standard request to the server using AP.request() but since it's going through ngrok right now, the url keeps changing. Is there a way I can automaticlaly get the url of the app's express server? If there is some other better way to send requests to the server, that would be nice too, I'm open to suggestions.
This is what i'm trying right now if this helps:
const res = await AP.request({
url: baseUrl,
type: 'GET'
});
console.log(res);app.get('/test-route', addon.authenticate(), (req, res) => {
res.send({"data": "hi"});
});Thanks