mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 08:20:12 +01:00
10 lines
271 B
JavaScript
10 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);
|
||
|
|
}
|
||
|
|
});
|