Skip to content

Commit aca6ea7

Browse files
committed
Update dependencies and analytics
1 parent bcf1f58 commit aca6ea7

File tree

4 files changed

+16
-7
lines changed

4 files changed

+16
-7
lines changed

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/usr/bin/env bash
22

33
clear
44

@@ -13,7 +13,7 @@ then
1313
fi
1414

1515
GH=$(git log -1 --pretty=format:%h || echo 'N/A')
16-
if [[ GH =~ 'fatal' ]];
16+
if [[ $GH =~ 'fatal' ]];
1717
then
1818
CommitHash=N/A
1919
else

go.mod

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ module github.com/kodehat/codehat.de
22

33
go 1.21.3
44

5-
require (
6-
github.com/jellydator/ttlcache/v3 v3.1.1 // indirect
7-
golang.org/x/sync v0.1.0 // indirect
8-
)
5+
require github.com/jellydator/ttlcache/v3 v3.1.1
6+
7+
require golang.org/x/sync v0.1.0 // indirect

go.sum

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
1+
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
2+
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
13
github.com/jellydator/ttlcache/v3 v3.1.1 h1:RCgYJqo3jgvhl+fEWvjNW8thxGWsgxi+TPhRir1Y9y8=
24
github.com/jellydator/ttlcache/v3 v3.1.1/go.mod h1:hi7MGFdMAwZna5n2tuvh63DvFLzVKySzCVW6+0gA2n4=
5+
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
6+
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
7+
github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8=
8+
github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
9+
go.uber.org/goleak v1.2.1 h1:NBol2c7O1ZokfZ0LEU9K6Whx/KnwvepVetCUhtKja4A=
10+
go.uber.org/goleak v1.2.1/go.mod h1:qlT2yGI9QafXHhZZLxlSuNsMw3FFLxBr+tBRlmO1xH4=
311
golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o=
412
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
13+
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
14+
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

templates/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<link rel="stylesheet" href="/static/after.css">
2929
<!-- Deferred JavaScript -->
3030
{{- if not .Data.Global.IsDebug }}
31-
<script async src="https://usage.{{ .Data.Global.Domain }}/script.js" data-account-id="dc755266-771e-46d2-acf8-ffb9c971f02d"></script>
31+
<script defer src="https://analytics.thisismy.cloud/script.js" data-website-id="ca1ee80b-ebe3-456a-84ea-c078425274e4"></script>
3232
{{- end }}
3333
<title>{{ .Data.Global.Host }}</title>
3434
</head>

0 commit comments

Comments
 (0)