mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Adds support for sending and receiving HTTP-headers when using the CORS-method. This change is required for the Yr weather-provider introduced in https://github.com/MichMich/MagicMirror/pull/2948. To make it easier to add unit tests I moved the server-functions into a separate file.