<link rel=prefetch> doesn't have an as attr

This commit is contained in:
rhiannon morris 2024-08-18 08:59:54 +02:00
parent 177bdba331
commit e37a222c95

View file

@ -62,7 +62,7 @@ make' root siteName prefix nsfw _dataDir dir
let updates = sort $ updatesFor nsfw info let updates = sort $ updatesFor nsfw info
let updatesList = makeUpdates updates let updatesList = makeUpdates updates
let makePrefetch img = [b|<link rel=prefetch as=image href=$path'>|] let makePrefetch img = [b|<link rel=prefetch href=$path'>|]
where path' = bigFile img where path' = bigFile img
let prefetches = map makePrefetch otherImages let prefetches = map makePrefetch otherImages