chore: Add pointer to troubleshooting when nonce prevents script execution
closes #5718
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user