website: fix script loading

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-10-20 15:27:37 +02:00
parent 621e7f564a
commit 6a95de4e8a
2 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ module.exports = {
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=0.86, maximum-scale=3.0, minimum-scale=0.86">
<meta name="generator" content="Docusaurus v<%= it.version %>">
<script async defer data-domain="goauthentik.io" src="//js/script.js"></script>
<script async defer data-domain="goauthentik.io" src="https://goauthentik.io/js/script.js"></script>
<%~ it.headTags %>
<% it.metaAttributes.forEach((metaAttribute) => { %>
<%~ metaAttribute %>

View File

@ -23,7 +23,7 @@
[[redirects]]
from = "/js/script.js"
to = "https://plausible.io/js/plausible.hash.exclusions.outbound-links.js"
to = "https://plausible.io/js/plausible.outbound-links.js"
status = 200
force = true