Reputation: 686
Is there a way to get the app config settings from inside my Trigger.io app without having to repeat the values in the parameters module? Specifically, I'm looking to grab the version number.
Upvotes: 1
Views: 130
Reputation: 15092
It used to be available under forge.config
in Javascript, but isn't anymore. For a while it wasn't available under this key (around v. 1.2). It has since reappeared.
Upvotes: 0
Reputation: 305
I've had success (today) with using forge.config.version
Example:
alert(forge.config.version)
This returned the value I had entered into the app's configuration.
Upvotes: 4