diff --git a/frontend/next.config.js b/frontend/next.config.js index b4f690d..7be5840 100644 --- a/frontend/next.config.js +++ b/frontend/next.config.js @@ -20,7 +20,7 @@ const nextConfig = { }, { protocol: "https", - hostname: "api.langaracs.tech", + hostname: "api.langaracs.ca", pathname: "/Images/**" }, { @@ -29,7 +29,7 @@ const nextConfig = { }, { protocol: "https", - hostname: "api3.langaracs.tech", + hostname: "api3.langaracs.ca", pathname: "/executives/image/**" }, ] diff --git a/frontend/src/app/ExecProfiles.tsx b/frontend/src/app/ExecProfiles.tsx index 68d36b5..2ec04b1 100644 --- a/frontend/src/app/ExecProfiles.tsx +++ b/frontend/src/app/ExecProfiles.tsx @@ -76,7 +76,7 @@ export default function ExecProfiles() { Position={profile.Position} ID={profile.ID} Name={profile.Name} - ImageBuffer= {(profile.ImageBuffer != null) ? `https://api3.langaracs.tech/executives/image/${profile.ImageBuffer}` : "https://via.placeholder.com/200x200"} + ImageBuffer= {(profile.ImageBuffer != null) ? `https://api3.langaracs.ca/executives/image/${profile.ImageBuffer}` : "https://via.placeholder.com/200x200"} Description={profile.Description} /> )) } diff --git a/frontend/src/app/Footer.tsx b/frontend/src/app/Footer.tsx index e81536d..90a8507 100644 --- a/frontend/src/app/Footer.tsx +++ b/frontend/src/app/Footer.tsx @@ -12,7 +12,7 @@ export default function Footer() }; const resourcesMap = new Map([ - ["Course Planner", "https://planner.langaracs.tech/" ], + ["Course Planner", "https://planner.langaracs.ca/" ], ["Transfer Resources", "https://langaracs.notion.site/Transfer-Information-a0548da4b3084681868381310c604c34"], ["Course Resources", "https://langaracs.notion.site/Langara-CS-Resources-12b750af5ecc4eeb86315d3d9fd8f1ce?pvs=4"], ["Feedback", forms.feedback] diff --git a/frontend/src/app/page.tsx b/frontend/src/app/page.tsx index be4bd1c..90d0f78 100644 --- a/frontend/src/app/page.tsx +++ b/frontend/src/app/page.tsx @@ -45,7 +45,7 @@ export default function Home() {
- + diff --git a/frontend/src/app/thunks/ProfileThunks.ts b/frontend/src/app/thunks/ProfileThunks.ts index 2109ba8..d318c47 100644 --- a/frontend/src/app/thunks/ProfileThunks.ts +++ b/frontend/src/app/thunks/ProfileThunks.ts @@ -3,7 +3,7 @@ import { AppDispatch, RootState } from "../stores/store"; import { ExecProfileObject } from "../slices/execProfileSlice"; export const loadProfilesAsync = () => async (state: RootState, dispatch: AppDispatch): Promise => { - const response = (await (await fetch(`https://api3.langaracs.tech/executives/active`, { + const response = (await (await fetch(`https://api3.langaracs.ca/executives/active`, { method: "GET", headers: { "apikey": `${process.env.APIKEY}`