mirror of
https://github.com/wekan/wekan.git
synced 2025-04-21 12:37:07 -04:00
9 lines
271 B
JavaScript
9 lines
271 B
JavaScript
import { BrowserPolicy } from 'meteor/browser-policy-common';
|
|
|
|
Meteor.startup(() => {
|
|
const matomoUrl = process.env.MATOMO_ADDRESS;
|
|
if (matomoUrl){
|
|
BrowserPolicy.content.allowScriptOrigin(matomoUrl);
|
|
BrowserPolicy.content.allowImageOrigin(matomoUrl);
|
|
}
|
|
});
|