WOPI URL Setting

I’m trying to integrate OnlyOffice with our solution(different local server) but the problem is in the CSP Header. When attempting to edit a file the page is blank.

Upon checking developer tools. It is for some reason pointing to an HTTPS url, I don’t know where this setting is coming from, I’m pretty sure in both local/default.json files the host should be set on localhost/127.0.0.1 . We are testing locally via HTTP for now.

https://web-apps/apps/api.documents/api.js

1.) It should be in http not HTTPS.
2.) URL should be http://OOServerIP/web-apps

Please guide me where this setting comes from.