I need to display the title from the database to the ionic home page. but my console showing the below error
Also changed ionic.config.json file like this
{
“name”: “proxy-example”,
“integrations”: {},
“proxies”: [
{
“path”: “/api”,
“proxyUrl”: “http://localhost/test_ionic/api/index.php”
}
]
}
you dont need to do any change in code just add this extension in your chrome and enable it https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi?hl=en