chore: Add pointer to troubleshooting when nonce prevents script execution

closes #5718
This commit is contained in:
Tom Moor
2023-08-21 21:38:30 -04:00
parent e6b0e434ea
commit 89bf5373aa

View File

@@ -8,4 +8,10 @@ declare global {
const env = window.env; const env = window.env;
if (!env) {
throw new Error(
"Config could not be be parsed. \nSee: https://docs.getoutline.com/s/hosting/doc/troubleshooting-HXckrzCqDJ#h-config-could-not-be-parsed"
);
}
export default env; export default env;