So I have an application that uses an mini api written in php. Im using a local link on my dev server to get the api script and I want to change this link when I build the app.
How do I basically string replace a certain link so I can for example use "$" as the api path like this: fetch('$/api.php'... which will get replace in dev mode with path/to/devapi/api.php and when building with api/api.php for example.
#Replacing a certain link
1 messages · Page 1 of 1 (latest)