Prepare the wet ingredients: In a bowl, add milk and vinegar and let it sit for 5 minutes to turn into buttermilk. Add in the sugar, curd, vegetable oil and vanilla extract and whisk until everything is well combined.
Mix in the dry ingredients: Sift together the all purpose flour, cornstarch, cocoa powder, baking powder and baking soda and mix the dry mixture with the wet mixture. Gently combine till you get a smooth batter.
Add the coffee: Pour in the hot coffee and whisk just until incorporated, the batter should be nice and runny.
Bake the cake: Pour the batter into a greased and parchment lined square cake tin. Bake at 180°C for 35-40 minutes in a preheated oven or airfry at 170°C for 25-30 minutes or until a toothpick inserted in the centre comes out clean.
Make the ganache: To a bowl, add chopped dark chocolate. Add heavy cream and microwave this mixture for 90 seconds, mixing every 30 seconds till the mixture is completely smooth.
Assemble the cake: Pour the ganache all over the cake and let the cake cool for atleast 30 minutes, finishing with a sprinkle of flaky sea salt on top. Slice, serve and enjoyy!