Skip to content

Commit

Permalink
Use prod app in trusted apps
Browse files Browse the repository at this point in the history
  • Loading branch information
srosset81 committed Oct 2, 2024
1 parent 6eb15ab commit efe841b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/pages/data/trusted-apps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {
Expand All @@ -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'];
Expand All @@ -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': '*'
}
});
};

Expand All @@ -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': '*'
}
});
};

0 comments on commit efe841b

Please sign in to comment.