summary refs log tree commit diff
path: root/views
diff options
context:
space:
mode:
authorpdp8 <pdp8@pdp8.info>2023-10-06 15:02:59 +0200
committerpdp8 <pdp8@pdp8.info>2023-10-06 15:02:59 +0200
commit580c684f792d6fab16c58b9a08d566cd03c72ca4 (patch)
treeb6cda32267d02c5e5118fa2d6b1da92c48c457c6 /views
parent6100f9971b74ee4d3449155beb881a69017a296d (diff)
announce to fixed, find_file replaced with find_object, CONTENT_LENGHT included in signature verification
Diffstat (limited to 'views')
-rw-r--r--views/outbox.erb5
1 files changed, 2 insertions, 3 deletions
diff --git a/views/outbox.erb b/views/outbox.erb
index db840f4..7b95439 100644
--- a/views/outbox.erb
+++ b/views/outbox.erb
@@ -3,15 +3,14 @@
   <head>
     <meta charset="UTF-8">
     <title>pdp8 social</title>
-    <link rel="icon" type="image/png" href="/pdp8.png">
+    <link rel="icon" type="image/png" href="https://pdp8.info/pdp8.png">
     <link rel='stylesheet' type='text/css' href='/style.css'>
   </head>
   <body>
     <h1><a href="https://social.pdp8.info/pdp8">pdp8@social.pdp8.info</a></h1>
     music, pictures and videos: <a href="https://pdp8.info">https://pdp8.info</a>
     <% @activities.each do |activity| 
-      file = find_file activity['object']['id']
-      @object = JSON.load_file file if file and File.exists? file
+      file, @object = find_object activity['object']['id']
       if @object
         mention = mention @object['attributedTo'] %>
         <div class='pdp8'>