Skip to content

Commit c001d2e

Browse files
committed
feat: try plausible analytics
1 parent 9e808d2 commit c001d2e

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

app/Actions/Nodes/RebuildCaddy.php

+10
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,16 @@ public function handle(Team $team, NodeTaskGroup $taskGroup, Deployment $deploym
4949
];
5050
}
5151

52+
// TODO: enable gzip compression?
53+
// $handlers[] = [
54+
// 'handler' => 'encode',
55+
// 'encodings' => [
56+
// 'gzip' => [
57+
// 'level' => 9,
58+
// ],
59+
// ],
60+
// ];
61+
5262
$handlers[] = [
5363
'handler' => 'reverse_proxy',
5464
'headers' => [

resources/views/app.blade.php

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
@vite(['resources/js/app.js', "resources/js/Pages/{$page['component']}.vue"])
1717
@inertiaHead
1818
@paddleJS
19+
<script defer data-domain="ptah.sh" src="https://plausible.ptah.sh/js/script.js"></script>
1920
</head>
2021
<body class="font-sans antialiased">
2122
@inertia

0 commit comments

Comments
 (0)