website: fix script loading
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
621e7f564a
commit
6a95de4e8a
|
@ -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 %>
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Reference in New Issue