Change API Base URL

Modified on Sun, 07 May 2023 at 03:58 AM

Important

Before you edit the apiBaseUrl, make sure you install inito-api-helper Plugin in your WordPress site.

You can download the plugin here.


1. Open the Project folder.


2. Go to lib\main.dart.


3. Change the apiBaseUrl variable under FlavorConfig with your WordPress URL.


Example:


FROM

 'https://dummycontent.inito.dev/wp-json/wp/v2'

TO

'https://yourwpsite.com/wp-json/wp/v2'



4. Then save the file and rebuild the app.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article