Fix Plausible proxy paths to match Caddy snippet
The (implausibly) Caddy snippet matches /js/script.js and /api/event at the root — the snippet name is not a URL prefix. Remove the erroneous /implausibly/ path prefix from both the script src and the event endpoint. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
12ba6de836
commit
9dce565329
1 changed files with 3 additions and 3 deletions
|
|
@ -17,12 +17,12 @@
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Anybody:wght@400;700;900&family=IBM+Plex+Mono:wght@400;600&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Anybody:wght@400;700;900&family=IBM+Plex+Mono:wght@400;600&display=swap" rel="stylesheet">
|
||||||
<link rel="stylesheet" id="app-css" href="style.css">
|
<link rel="stylesheet" id="app-css" href="style.css">
|
||||||
<!-- Privacy-friendly analytics by Plausible (proxied via /implausibly/) -->
|
<!-- Privacy-friendly analytics by Plausible -->
|
||||||
<script async src="/implausibly/js/script.js"></script>
|
<script async src="/js/script.js"></script>
|
||||||
<script>
|
<script>
|
||||||
window.plausible=window.plausible||function(){(plausible.q=plausible.q||[]).push(arguments)},plausible.init=plausible.init||function(i){plausible.o=i||{}};
|
window.plausible=window.plausible||function(){(plausible.q=plausible.q||[]).push(arguments)},plausible.init=plausible.init||function(i){plausible.o=i||{}};
|
||||||
plausible.init({
|
plausible.init({
|
||||||
endpoint: "/implausibly/api/event"
|
endpoint: "/api/event"
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue