Enable CORS on Murdock

Hello,

I wanted to write a script to compare two murdock build size output and thought, why not writing it in javascript so it could be rendered from a github page or something even sharing a link calculating the results.

While trying to write a webpage using Javascript downloading two Murdock 'size.json' we faced the issue that it could not download the file from murdock as it does not allow Cross-origin resource sharing[1].

Is it be possible to enable it for all domains ? At least for 'get'

1: https://en.wikipedia.org/wiki/Cross-origin_resource_sharing

I have no idea how or where it should be done though.

Thanks, in advance.

Cheers, Gaƫtan

To explain why I need it.

I currently worked with the Juan to develop this size comparison page. It currently requires a CORS enabling extension like:

https://addons.mozilla.org/en-US/firefox/addon/cors-everywhere/

If you have the extension, you can get a summary of the size difference between two builds:

https://cladmi.github.io/devpages/cmpmurdocksize.html?origin=https%3A%2F%2Fci.riot-os.org%2FRIOT-OS%2FRIOT%2F9836%2F14074eeda106ded94f7f46ca46189993ba659683%2Fsizes.json&destination=https%3A%2F%2Fci.riot-os.org%2FRIOT-OS%2FRIOT%2F8711%2F05e9a2e1f1868c101838ed55f1af4d89bcc4643c%2Fsizes.json

There is also a per column sort function but it looks like it is currently doing a string comparison.