Port f51f99c3c2 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
f51f99c3c2
As this is what upstream does. See also https://github.com/tc39/proposal-decorators/issues/69
Port missing parts from 2c51bc0ca5 to glitch-soc
2c51bc0ca5
It should not be necessary thanks to our Content Security Policy, but best be sure in case a server's CSP is incorrect. Also, avoids a CSP warning about loading remote scripts.