If you have specified the site URL when configuring the server profile or creating the package, the site URL will be used as the Web API URL. You can also change the value in the client app.
To change the Web API URL for an application:
-
Go to the server root > [appname] folder (named after the App name configured in IDE, for example "salesdemo_cloud") which contains the application files.
-
Open the apprun.json file in a text editor and change the Web API URL (and the launcher URL and runtime URL if necessary).
{ "deployment_urls": { "launcher": "CloudAppPublisher/CloudAppInstall 22.0", "runtime": "CloudAppPublisher/runtime/22.1.0.2670", "web_api": "http://localhost:5099" } }