Skip to content

Commit

Permalink
background: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mahfoozm authored Jul 9, 2023
1 parent 5e556eb commit 3ed3d16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions background.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -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: {
Expand Down Expand Up @@ -133,4 +133,4 @@ chrome.runtime.onConnect.addListener((port) => {
port.postMessage({error});
});
});
});
});

0 comments on commit 3ed3d16

Please sign in to comment.