i use the feature of the json api in combination with select fields in blueprints. I wonder how i can define URLs for my test system and for the live system. I don´t want to change it all the time when i update my blueprint:
Now on the live system i have the domain http://my-live-system.de. How can i implement my test system domain and my live system domain in the blueprint?
Is there a way to do that like the config.php:
# test system
my-test-system.de.config.php
# live system
my-live-system.de.config.php
One option/idea may be to write your own custom field, extending the default select field.
In your custom field code, you could check for a config value, then load the appropriate domain based on that. Or check the server name. (I’d probably use a config value, though.)