Posts

RESOLVED: CORS issue on ionic Mobile App ios

Problem:   I was working on a project in which I was developing an ionic application which needed to access a Website URL hosted on Azure App Service. The app was unable to connect and was throwing CORS issue. When I debugged using xcode, I found that the request is being made by the url capacitor://localhost and when I tried adding the same in Azure App Service, this was not allowed: After doing some research, I found the solution here: https://forum.ionicframework.com/t/preflight-response-is-not-successful-in-capacitor-ios-platform/168433/8 Solution: I used azure cli to add the cors url. For this: In case, you are not having azure cli, download it here: https://learn.microsoft.com/en-us/cli/azure/install-azure-cli Run command: az login Run the following command to add url:  az webapp cors add --allowed-origins capacitor://localhost --name MyAppService --resource-group MyResourceGroup Happy Coding.

How to configure nvm on mac to run multiple node versions?

Using VSCode and plantUML together to create UML diagrams and process flow diagrams

niwi.ai solves the top 3 challenges of health professionals

Exploring Cancer...

How to find duplicates in an array in JavaScript?

Resolved: php version in .htaccess is getting overridden in Wordpress

.Net 7 - What should I know?

Learning Azure Cloud as a developer

How to find UDID of your iphone without installing any third party app on Mac M1 or Mac M2