From 22d2b370006a70dac65c247eee586f533f41acb2 Mon Sep 17 00:00:00 2001 From: Lucy Date: Fri, 28 Mar 2025 17:30:30 +0000 Subject: [PATCH] Fix potential CORS issues with webroot transport on BYOND 516 (#90256) ## About The Pull Request css also needs `node.crossOrigin = 'anonymous';`, at least in my case. credit to @hry-gh for pointing this out to me ## Why It's Good For The Game bluescreen = bad working = good ## Changelog :cl: Absolucy, hry-gh fix: Fixed a potential bluescreen error relating to stylesheets on BYOND 516. /:cl: --- tgui/public/tgui.html | 1 + 1 file changed, 1 insertion(+) diff --git a/tgui/public/tgui.html b/tgui/public/tgui.html index a8d0777a457..8d8932e5136 100644 --- a/tgui/public/tgui.html +++ b/tgui/public/tgui.html @@ -314,6 +314,7 @@ var node = document.createElement('link'); node.type = 'text/css'; node.rel = 'stylesheet'; + node.crossOrigin = 'anonymous'; node.href = url; // Temporarily set media to something inapplicable // to ensure it'll fetch without blocking render