diff --git a/app/api/gameList/route.ts b/app/api/favgameslist/route.ts
similarity index 100%
rename from app/api/gameList/route.ts
rename to app/api/favgameslist/route.ts
diff --git a/components/addGameToList.tsx b/components/addGameToList.tsx
index d54fc5babf73b93ee695c90085a19c6078ae93ee..ebb42adaeb2f8e8d982b9893d8f6cd3ff8d66d91 100644
--- a/components/addGameToList.tsx
+++ b/components/addGameToList.tsx
@@ -15,7 +15,7 @@ export default function AddGameToList(props: { userGameList: Number[], gameId: s
 
         formData.gameId = gameId;
         formData.add = false;
-        const response = await fetch('http://localhost:3000/api/gameList', {
+        const response = await fetch('/api/favgameslist', {
             method: 'PUT',
             body: JSON.stringify(formData)
         })
@@ -33,7 +33,7 @@ export default function AddGameToList(props: { userGameList: Number[], gameId: s
 
         formData.gameId = gameId;
         formData.add = true;
-        const response = await fetch('http://localhost:3000/api/gameList', {
+        const response = await fetch('/api/favgameslist', {
             method: 'PUT',
             body: JSON.stringify(formData)
         })