Changed url.URL to string so the json is less bloated
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user