I have a shopify app with a theme extension in which I am making api calls to my backend. I want the base url of the api to not be hardcoded in the liquid code, but to be specified while deploying the app using some type of env variable/flag/config file or any other method, how do I do this?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How to pass some custom data as key value pair in a shopify app extension using the app's toml file and then access that data in the extension's liquid code? | 0 | 4 | May 28, 2025 | |
How to dynamically get app proxy path in extension in case 1 codebase is linked to multiple apps with different proxy paths? | 7 | 90 | December 31, 2024 | |
Using fetch in theme app extenstion | 4 | 258 | November 4, 2024 | |
Modifying Shopify Product Page with App Theme Extension | 7 | 57 | March 24, 2025 | |
Vs code extension routing to different link when clicked from the editor for documentation | 5 | 25 | February 20, 2025 |