From 3ed3d162c0c3835dce43ad47c4e6f996aa21980f Mon Sep 17 00:00:00 2001 From: Mohammad Mahfooz <95328615+mahfoozm@users.noreply.github.com> Date: Sat, 8 Jul 2023 23:03:34 -0400 Subject: [PATCH] background: cleanup --- background.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/background.js b/background.js index 5d15a26..cf56081 100644 --- a/background.js +++ b/background.js @@ -8,7 +8,7 @@ const SCHOOL_ID = 'U2Nob29sLTE0OTU='; const searchProfessor = async (name, schoolID) => { const response = await fetch( // self hosted proxy - `http://140.238.154.147:8088/https://www.ratemyprofessors.com/graphql`, + `https://www.ratemyprofessors.com/graphql`, { method: "POST", headers: { @@ -53,7 +53,7 @@ const searchProfessor = async (name, schoolID) => { const getProfessor = async (id) => { const response = await fetch( // self hosted proxy - `http://140.238.154.147:8088/https://www.ratemyprofessors.com/graphql`, + `https://www.ratemyprofessors.com/graphql`, { method: "POST", headers: { @@ -133,4 +133,4 @@ chrome.runtime.onConnect.addListener((port) => { port.postMessage({error}); }); }); -}); \ No newline at end of file +});