From efe841bece6092c325c2db4d5ec5b40bd879f9d1 Mon Sep 17 00:00:00 2001 From: srosset81 Date: Wed, 2 Oct 2024 14:43:40 +0200 Subject: [PATCH] Use prod app in trusted apps --- src/pages/data/trusted-apps.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/pages/data/trusted-apps.ts b/src/pages/data/trusted-apps.ts index 855019f..5e733fb 100644 --- a/src/pages/data/trusted-apps.ts +++ b/src/pages/data/trusted-apps.ts @@ -9,9 +9,9 @@ import type { Resource } from '../../utils/ldp'; export const prerender = false; const trustedAppsUris = [ - 'https://dev.welcometomyplace.org/api/app', - 'https://dev.mutual-aid.app/api/app', - 'https://dev.mastopod.com/api/app', + 'https://welcometomyplace.org/api/app', + 'https://mutual-aid.app/api/app', + 'https://mastopod.com/api/app' ]; export const GET: APIRoute = async ({ request }) => { @@ -24,8 +24,8 @@ export const GET: APIRoute = async ({ request }) => { duration: '3h', type: 'json', fetchOptions: { - headers: { Accept: 'application/ld+json' }, - }, + headers: { Accept: 'application/ld+json' } + } }); const compactJson = await jsonld.compact(json, localContext); delete compactJson['@context']; @@ -39,8 +39,8 @@ export const GET: APIRoute = async ({ request }) => { status: 200, headers: { 'Content-Type': 'application/ld+json', - 'Access-Control-Allow-Origin': '*', - }, + 'Access-Control-Allow-Origin': '*' + } }); }; @@ -49,7 +49,7 @@ export const HEAD: APIRoute = async () => { status: 200, headers: { 'Content-Type': 'application/ld+json', - 'Access-Control-Allow-Origin': '*', - }, + 'Access-Control-Allow-Origin': '*' + } }); };