Resolved: Adding MX Record(s) in AWS

 Recently, I was migrating MX records from WIX to AWS. I was using GSuite and I was unable to do the same. Then after a little bit of research, I found this stackoverflow link , which helped me resolve the problem. Here is how you should be adding the records in AWS. Record Name: @ Record Type: MX Value: <Priority> <Route Traffic to> example: 10 aspx.alt1.google.com And if you have multiple records, simply add the records in the same text area in the new line and no commas. This will resolve your problem. :)

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:



Solution:

I used azure cli to add the cors url. For this:

  1. In case, you are not having azure cli, download it here:
    https://learn.microsoft.com/en-us/cli/azure/install-azure-cli
  2. Run command:
    az login
  3. Run the following command to add url: 
az webapp cors add --allowed-origins capacitor://localhost --name MyAppService --resource-group MyResourceGroup 

Happy Coding.