Month: June 2020
-
Azure SAS Upload with ReactJS – Blocked by CORS
Hi everyone, I ran into a cors error while working on a ReactJS app and uploading images to Azure Storage with an SAS url: https://localhost:3000′ has been blocked by CORS policy while uploading from… In order to fix this, just log into your azure portal and go to your storage account. You can then add…
-
Overwrite Selected Tree View Item Styles – Material UI ReactJS
Hi everyone, Just a quick post on how to overwrite the styles of a selected tree item using material ui and ReactJS: treeItem: { paddingTop: theme.spacing(1), ‘&[aria-selected=”true”][aria-expanded=”true”] > div:nth-of-type(1)’: { backgroundColor: ‘red’, } }, This will make the background color red for ONLY the selected item: Cheers, Chris
-
Failed to load the development https certificate using docker and ocelot
Hey everyone, I randomly started encountering the following error while using docker to host my Ocelot gateway: Failed to load the development https certificate at ‘/root/.aspnet/https/ContentGateway.pfx’. The solution ended up being to clean out as many temp files as possible, especially the generated certs: Delete the following files: Delete the C:\Users{USER}\AppData\Roaming\ASP.NET\Https folder Clean the solution.…