mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Merge branch 'wekan:master' into master
This commit is contained in:
commit
12c9317e15
22 changed files with 95 additions and 58 deletions
|
|
@ -1,6 +1,13 @@
|
|||
import { BrowserPolicy } from 'meteor/browser-policy-common';
|
||||
|
||||
Meteor.startup(() => {
|
||||
|
||||
// Default allowed
|
||||
BrowserPolicy.content.allowInlineScripts();
|
||||
BrowserPolicy.content.allowEval();
|
||||
BrowserPolicy.content.allowInlineStyles();
|
||||
BrowserPolicy.content.allowSameOriginForAll();
|
||||
|
||||
if (process.env.BROWSER_POLICY_ENABLED === 'true') {
|
||||
// Trusted URL that can embed Wekan in iFrame.
|
||||
const trusted = process.env.TRUSTED_URL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue