website: netlify proxy analytics
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
0db4716e92
commit
535f2eb27e
|
@ -119,10 +119,9 @@ module.exports = {
|
||||||
<html <%~ it.htmlAttributes %>>
|
<html <%~ it.htmlAttributes %>>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="go-import" content="goauthentik.io/api git https://github.com/goauthentik/client-go">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=0.86, maximum-scale=3.0, minimum-scale=0.86">
|
<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 %>">
|
<meta name="generator" content="Docusaurus v<%= it.version %>">
|
||||||
<script async defer data-domain="goauthentik.io" src="https://public.s3.beryju.org/plausibl.js"></script>
|
<script async defer data-domain="goauthentik.io" src="//js/script.js"></script>
|
||||||
<%~ it.headTags %>
|
<%~ it.headTags %>
|
||||||
<% it.metaAttributes.forEach((metaAttribute) => { %>
|
<% it.metaAttributes.forEach((metaAttribute) => { %>
|
||||||
<%~ metaAttribute %>
|
<%~ metaAttribute %>
|
||||||
|
|
|
@ -20,3 +20,15 @@
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "/version/*"
|
from = "/version/*"
|
||||||
to = "https://raw.githubusercontent.com/goauthentik/authentik/version-:splat"
|
to = "https://raw.githubusercontent.com/goauthentik/authentik/version-:splat"
|
||||||
|
|
||||||
|
[[redirects]]
|
||||||
|
from = "/js/script.js"
|
||||||
|
to = "https://plausible.io/js/plausible.hash.exclusions.outbound-links.js"
|
||||||
|
status = 200
|
||||||
|
force = true
|
||||||
|
|
||||||
|
[[redirects]]
|
||||||
|
from = "/api/event"
|
||||||
|
to = "https://analytics.beryju.org/api/event"
|
||||||
|
status = 200
|
||||||
|
force = true
|
||||||
|
|
Reference in New Issue