Skip to content

Commit ee53cfd

Browse files
fix: have a unique key for requests to fetch info for every unique extension
1 parent 2bf2543 commit ee53cfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/extension/[id]/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const getExtensionDoc = async (id: string) => {
3636
async function getExtensionInformation(
3737
id: string
3838
): Promise<APIExtension | null> {
39-
const response = await fetch(INDEX_URL, {
39+
const response = await fetch(`${INDEX_URL}?key=${encodeURIComponent(id)}`, {
4040
next: {
4141
revalidate: 60,
4242
},

0 commit comments

Comments
 (0)