You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/lib/plausible_web/plugs
Guido Zuidhof 2b1dcd99d3
Add Cross-Origin-Resource-Policy header to script
Hey Plausible devs,

I am trying to embed the `plausible.js` onto a page that has the [`require-corp`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Embedder-Policy) header set, which means that for every resource that is loaded they must be clearly marked as cross-origin OK.

The tracker script response currently doesn't have that header set, so I can't load it right now. This would solve that.
6 years ago
..
auth_plug.ex Selhosted version Improvements and additional features (#209) 6 years ago
authorize_stats_plug.ex Formatting only changes - No code change (#75) 7 years ago
auto_auth_plug.ex Selhosted version Improvements and additional features (#209) 6 years ago
firewall.ex Mix format 6 years ago
last_seen_plug.ex Formatting only changes - No code change (#75) 7 years ago
require_account.ex Formatting only changes - No code change (#75) 7 years ago
require_logged_out.ex Formatting only changes - No code change (#75) 7 years ago
session_timeout_plug.ex Formatting only changes - No code change (#75) 7 years ago
tracker.ex Add Cross-Origin-Resource-Policy header to script 6 years ago
upgrade_billing_plug.ex #332: Refactor stats controller (#337) 6 years ago