Update the snippet from js/plausible.js to js/script.js (#2395)

As per https://plausible.io/docs/plausible-script
This commit is contained in:
Adam Rutkowski 2022-10-27 18:20:53 +02:00 committed by GitHub
parent 7ccbc5d432
commit c604e49f4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ defmodule PlausibleWeb.SiteView do
if site.custom_domain do
"https://" <> site.custom_domain.domain <> "/js/index.js"
else
"#{plausible_url()}/js/plausible.js"
"#{plausible_url()}/js/script.js"
end
"""