Get Forge resource URL

Hi there,

I’m migrating a Connect app to Forge and encountered a problem related to Forge resource.

My Connect app has multiple macros and general pages, some resources are cross referenced. When migrating to Forge I got resource limit (50M) exceeded problem.

I was trying to solve the problem by splitting to multiple resources and then reference them cross resources. The question is - how to get the resource URL in Forge app that uses Custom UI?