1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00

feat: update analytics event source path in Vercel configuration

This commit is contained in:
codecalm
2025-04-24 15:54:31 +02:00
parent 83b11a8b35
commit bf750451f1
4 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@
"destination": "https://plausible.io/js/script.js" "destination": "https://plausible.io/js/script.js"
}, },
{ {
"source": "/stats/api/event", "source": "/stats/event",
"destination": "https://plausible.io/api/event" "destination": "https://plausible.io/api/event"
}, },
{ {

View File

@@ -5,7 +5,7 @@
"destination": "https://plausible.io/js/script.js" "destination": "https://plausible.io/js/script.js"
}, },
{ {
"source": "/stats/api/event", "source": "/stats/event",
"destination": "https://plausible.io/api/event" "destination": "https://plausible.io/api/event"
}, },
{ {

View File

@@ -1 +1 @@
<script defer data-api="/stats/api/event" data-domain="preview.tabler.io" src="/stats/js/script.js"></script> <script defer data-api="/stats/event" data-domain="preview.tabler.io" src="/stats/js/script.js"></script>

View File

@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tabler Documentation - {{ title }}</title> <title>Tabler Documentation - {{ title }}</title>
<script defer data-api="/stats/api/event" data-domain="docs.tabler.io" src="/stats/js/script.js"></script> <script defer data-api="/stats/event" data-domain="docs.tabler.io" src="/stats/js/script.js"></script>
<link rel="stylesheet" href="/dist/css/tabler{% if environment != 'development' %}.min{% endif %}.css{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}" /> <link rel="stylesheet" href="/dist/css/tabler{% if environment != 'development' %}.min{% endif %}.css{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}" />
{% for plugin in site.cssPlugins %} {% for plugin in site.cssPlugins %}