Skip to content

Commit

Permalink
Update avatar and cache strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
drewlyton committed Sep 4, 2023
1 parent 1adcc53 commit f7dcc67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/components/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ const Avatar = () => {
return (
<img
className="inline object-cover w-24 h-24 mr-2 rounded-full"
src="https://cdn.lumastic.com/ck02dd5dl0fvz0890di2n05ky/zu-MQQ3Kech9SfetXsGe4-my8vxj3s3p2negfs2oy9l.jpeg"
alt="Drew's Profile Picture"
src="headshot.png"
alt="Drew Lyton, an average looking white guy with curly black hair, round clear glasses, and a big smile."
/>
);
};
Expand Down
2 changes: 1 addition & 1 deletion app/routes/story/$slug.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const loader = async ({ params, request }: LoaderArgs) => {
{ story, mdxCode: code, refLink: request.url },
{
headers: {
"Cache-Control": "s-maxage:60, stale-while-revalidate"
"Cache-Control": "public, s-maxage:60, stale-while-revalidate"
}
}
);
Expand Down

0 comments on commit f7dcc67

Please sign in to comment.