✨ feat(caddy): Ajoute une redirection pour le script de statistiques et l'intègre
✨ feat(template): Intègre le script de statistiques via la nouvelle redirection
This commit is contained in:
@@ -9,7 +9,10 @@ www.e-cosplay.fr {
|
||||
max_size 100MB
|
||||
}
|
||||
handle_path /ts.js {
|
||||
redir https://widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js
|
||||
redir https://widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js
|
||||
}
|
||||
handle_path /vs.js {
|
||||
redir https://datas.e-cosplay.fr/script.js
|
||||
}
|
||||
|
||||
header {
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
<script type="text/javascript" src="/ts.js" async></script>
|
||||
{{ vite_asset('app.js', []) }}
|
||||
{% if app.environment == "prod" %}
|
||||
<script defer src="https://datas.e-cosplay.fr/script.js" data-website-id="b929d372-fbea-403e-9ae2-781433828787"></script>
|
||||
<script defer src="/vs.js" data-website-id="b929d372-fbea-403e-9ae2-781433828787"></script>
|
||||
{% endif %}
|
||||
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user