diff --git a/website/app/routes/app-agenda-grid.tsx b/website/app/routes/app-agenda-grid.tsx index b829411..9eb244c 100644 --- a/website/app/routes/app-agenda-grid.tsx +++ b/website/app/routes/app-agenda-grid.tsx @@ -21,9 +21,7 @@ export async function loader({ context }: LoaderFunctionArgs) { : // TODO Deal with data type [] - const schedule = schedules[0] - - return json(schedule, { + return json(schedules, { headers: { 'Cache-Control': CACHE_CONTROL.conf, 'Access-Control-Allow-Origin': '*', diff --git a/website/remix-routes.d.ts b/website/remix-routes.d.ts index 30c96c0..fe7fb5c 100644 --- a/website/remix-routes.d.ts +++ b/website/remix-routes.d.ts @@ -54,6 +54,11 @@ declare module "remix-routes" { query: ExportedQuery, }; + "/app-announcements": { + params: never, + query: ExportedQuery, + }; + "/app-config": { params: never, query: ExportedQuery, @@ -104,6 +109,7 @@ declare module "remix-routes" { | 'routes/app-agenda-grid' | 'routes/app-agenda-sessions' | 'routes/app-agenda-speakers' + | 'routes/app-announcements' | 'routes/app-config' | 'routes/app-content.$' | 'routes/blog.rss[.xml]';