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.
2020-11-18 07:30:43 +01:00
..
auth_plug.ex Selhosted version Improvements and additional features (#209) 2020-07-21 09:58:00 +03:00
authorize_stats_plug.ex Formatting only changes - No code change (#75) 2020-06-08 10:35:13 +03:00
auto_auth_plug.ex Selhosted version Improvements and additional features (#209) 2020-07-21 09:58:00 +03:00
firewall.ex Mix format 2020-11-03 11:20:11 +02:00
last_seen_plug.ex Formatting only changes - No code change (#75) 2020-06-08 10:35:13 +03:00
require_account.ex Formatting only changes - No code change (#75) 2020-06-08 10:35:13 +03:00
require_logged_out.ex Formatting only changes - No code change (#75) 2020-06-08 10:35:13 +03:00
session_timeout_plug.ex Formatting only changes - No code change (#75) 2020-06-08 10:35:13 +03:00
tracker.ex Add Cross-Origin-Resource-Policy header to script 2020-11-18 07:30:43 +01:00
upgrade_billing_plug.ex #332: Refactor stats controller (#337) 2020-10-02 12:02:32 +03:00