Skip to content

Commit

Permalink
Merge pull request #34 from dddwa/fix/agenda-cache-time
Browse files Browse the repository at this point in the history
Fix/agenda cache time
  • Loading branch information
JakeGinnivan authored Nov 15, 2024
2 parents 8ad4ae8 + 612cfa1 commit 0cec1e3
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export async function loader({ params, context }: LoaderFunctionArgs) {
sessionStart: DateTime.fromISO(session.startsAt).toLocaleString(DateTime.TIME_SIMPLE),
sessionEnd: DateTime.fromISO(session.endsAt).toLocaleString(DateTime.TIME_SIMPLE),
},
{ headers: { 'Cache-Control': CACHE_CONTROL.conf } },
{ headers: { 'Cache-Control': CACHE_CONTROL.schedule } },
)
}

Expand Down
2 changes: 1 addition & 1 deletion website/app/routes/app-agenda-grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export async function loader({ context }: LoaderFunctionArgs) {

return json(schedules, {
headers: {
'Cache-Control': CACHE_CONTROL.conf,
'Cache-Control': CACHE_CONTROL.schedule,
'Access-Control-Allow-Origin': '*',
},
})
Expand Down
2 changes: 1 addition & 1 deletion website/app/routes/app-agenda-sessions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export async function loader({ context }: LoaderFunctionArgs) {

return json(sessions, {
headers: {
'Cache-Control': CACHE_CONTROL.conf,
'Cache-Control': CACHE_CONTROL.schedule,
'Access-Control-Allow-Origin': '*',
},
})
Expand Down
2 changes: 1 addition & 1 deletion website/app/routes/app-agenda-speakers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export async function loader({ context }: LoaderFunctionArgs) {

return json(speakers, {
headers: {
'Cache-Control': CACHE_CONTROL.conf,
'Cache-Control': CACHE_CONTROL.schedule,
'Access-Control-Allow-Origin': '*',
},
})
Expand Down

0 comments on commit 0cec1e3

Please sign in to comment.