404 when miniprofiler posts to mini-profiler-resources/results

Realise my issue was probably due to something else, but hopefully this will help someone else.

I managed to get a 404 - turned out it was because I was discarding the results at the end of the request…
MiniProfiler.Stop(discardResults: true);

…changed to…
MiniProfiler.Stop(discardResults: false);