I create on demand websites through Connect Designer (in a Workflow configuration). The PlanetPress Connect Server is a backend machine, while the other one is the webserver (webserver sends an request to the backend server to get the website). So I store all website resources (CSS, JS, images, etc.) on the webserver machine.
Connect automatically inserts the following CSS-Link in the header of every website.
That link can not be found from browser and in the console I get “__ol__font_definitions.css:1 Failed to load resource: the server responded with a status of 404 ()”.
How can I prevent Connect from inserting that link or how can I modify the link before sending it back to the webserver machine?
Thank your for your reply. I tried the following before and it works, but its too late, because the css-link will be in dom and will be executed before I can remove it via javascript/jquery.
Yes, that is what I feared. Hmmm…could we remove it in Scripts by targeting head before the page is created? That is, if it’s there at this point of course…
Great, glad you managed to solve it. I was convinced it would be in the Scripts pane as that’s pre-merge and you needed to remove it before it made it to the DOM.