Compare commits

..

3 Commits

Author SHA1 Message Date
c105d5b3cf update deps 2024-09-16 11:37:42 +02:00
713317a4a0 chage source link, update go 2024-04-08 17:38:10 +02:00
f9e3d41c62 fix dockerfile COPY 2024-03-05 10:30:21 +01:00
4 changed files with 10 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
FROM golang:1.22.0-alpine3.19 as build FROM golang:1.23.1-alpine3.20 as build
COPY src /src COPY . /src
RUN cd /src \ RUN cd /src \
&& go build -o retrohub \ && go build -o retrohub \

4
go.mod
View File

@@ -3,6 +3,6 @@ module retroHub
go 1.22 go 1.22
require ( require (
github.com/go-chi/chi/v5 v5.0.12 github.com/go-chi/chi/v5 v5.1.0
github.com/mileusna/useragent v1.3.4 github.com/mileusna/useragent v1.3.5
) )

8
go.sum
View File

@@ -1,4 +1,4 @@
github.com/go-chi/chi/v5 v5.0.12 h1:9euLV5sTrTNTRUU9POmDUvfxyj6LAABLUcEWO+JJb4s= github.com/go-chi/chi/v5 v5.1.0 h1:acVI1TYaD+hhedDJ3r54HyA6sExp3HfXq7QWEEY/xMw=
github.com/go-chi/chi/v5 v5.0.12/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= github.com/go-chi/chi/v5 v5.1.0/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8=
github.com/mileusna/useragent v1.3.4 h1:MiuRRuvGjEie1+yZHO88UBYg8YBC/ddF6T7F56i3PCk= github.com/mileusna/useragent v1.3.5 h1:SJM5NzBmh/hO+4LGeATKpaEX9+b4vcGg2qXGLiNGDws=
github.com/mileusna/useragent v1.3.4/go.mod h1:3d8TOmwL/5I8pJjyVDteHtgDGcefrFUX4ccGOMKNYYc= github.com/mileusna/useragent v1.3.5/go.mod h1:3d8TOmwL/5I8pJjyVDteHtgDGcefrFUX4ccGOMKNYYc=

View File

@@ -13,7 +13,7 @@
<hr/> <hr/>
{{ template "content" . }} {{ template "content" . }}
<hr/> <hr/>
<p>Retro Hub v{{ .Version }} powered by Go, made by thelilfrog (<a href="https://github.com/mojitaurelie">Github</a>, not available for old systems)</p> <p>Retro Hub v{{ .Version }} powered by Go, made by thelilfrog (<a href="https://git.thelilfrog.com/thelilfrog/retrohub">Source</a>, may not display correctly on older system)</p>
</body> </body>
</html> </html>
{{ end }} {{ end }}