grain.social is a photo sharing platform built on atproto.

fix: update Cache-Control header to no-cache and remove border top footer styles

Changed files
+1 -11
services
darkroom
+1 -1
services/darkroom/src/composite_handler.rs
··· 53 53 headers.insert("Content-Type", HeaderValue::from_static("image/jpeg")); 54 54 headers.insert( 55 55 "Cache-Control", 56 - HeaderValue::from_static("public, max-age=3600"), 56 + HeaderValue::from_static("no-cache, must-revalidate"), 57 57 ); 58 58 59 59 let mut response = Response::new(Body::from(screenshot));
-10
services/darkroom/static/css/adaptive_layout.css
··· 41 41 box-sizing: border-box; 42 42 } 43 43 44 - .footer::before { 45 - content: ''; 46 - position: absolute; 47 - top: 0; 48 - left: 15px; 49 - right: 15px; 50 - height: 1px; 51 - background-color: #e4e4e7; 52 - } 53 - 54 44 .title { 55 45 font-weight: 400; 56 46 color: #212529;