Skip to content

Commit 85df219

Browse files
committed
add schema.json route
1 parent ede0dee commit 85df219

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

website/app/routes/schema[.]json.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export const loader = async () => {
2+
const response = await fetch("https://staging-api.docs.page/schema.json");
3+
return response.json();
4+
}

0 commit comments

Comments
 (0)