Fix deprecation

This commit is contained in:
Erick Ruiz de Chavez 2025-01-10 07:19:12 -05:00
parent e4781e7f37
commit c36b3b6cb0
2 changed files with 2 additions and 3 deletions

2
go.mod
View file

@ -1,6 +1,6 @@
module git.sr.ht/~sircmpwn/kineto
go 1.15
go 1.16
require (
git.sr.ht/~adnano/go-gemini v0.1.17

View file

@ -5,7 +5,6 @@ import (
"fmt"
"html/template"
"io"
"io/ioutil"
"log"
"mime"
"net/http"
@ -575,7 +574,7 @@ func main() {
bind = opt.Value
case 's':
external = false
cssContent, err := ioutil.ReadFile(opt.Value)
cssContent, err := os.ReadFile(opt.Value)
if err == nil {
css = string(cssContent)
} else {