Changed url.URL to string so the json is less bloated

This commit is contained in:
nytpu
2021-03-18 11:36:57 -06:00
parent 00de991f6b
commit 6cf5ca01cf
5 changed files with 23 additions and 20 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ func gopherPage(data *core.FullData, remote *url.URL, title string) error {
var page core.Page
page.Title = title
page.Link = remote
page.Link = remote.String()
h := sha256.New()
if _, err := io.Copy(h, reader); err != nil {
return err