Skip to content

Commit

Permalink
feat: update ost_broadcast expire date
Browse files Browse the repository at this point in the history
  • Loading branch information
avitorio committed Jul 14, 2023
1 parent bac4c27 commit 7682138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/outstatic/src/components/Sidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const Sidebar = ({ isOpen = false }: SidebarProps) => {
if (data?.title) {
setBroadcast(data)
cookies.set('ost_broadcast', JSON.stringify(data), {
expires: 60 * 60 * 24 // 1 day
expires: 1 // 1 day
})
}
})
Expand Down

0 comments on commit 7682138

Please sign in to comment.