I'm trying to get a .js file inside a zipped file loaded in Salesforce as Static Resource from the controller of an aura component. When I use:
baseUrl: "{!URLFOR($Resource.layer_composer,'js/lib')}",
I get the wrong URL like:
https://sit-sit-octoforce.cs86.force.com/businesscustomer/s/%7B!URLFOR($Resource.layer_composer,'js/lib')
(js/lib it's the folder I want to and layer_composer the static resource). Clearly it's wrong, so which is the right way to retrive js/lib inside the layer_composer Static Resources from the aura component controller?