Skip to content

Commit

Permalink
Merge pull request #45 from langaracpsc/domain-migration
Browse files Browse the repository at this point in the history
Domain urls changed
  • Loading branch information
rishit-singh authored Jun 9, 2024
2 parents 9253f77 + 06245e8 commit 2827b1c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions frontend/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const nextConfig = {
},
{
protocol: "https",
hostname: "api.langaracs.tech",
hostname: "api.langaracs.ca",
pathname: "/Images/**"
},
{
Expand All @@ -29,7 +29,7 @@ const nextConfig = {
},
{
protocol: "https",
hostname: "api3.langaracs.tech",
hostname: "api3.langaracs.ca",
pathname: "/executives/image/**"
},
]
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/ExecProfiles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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} />
))
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function Footer()
};

const resourcesMap = new Map<string, string>([
["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]
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default function Home() {
<div className='h-screen w-full bg-body-gray'>


<script defer data-domain="langaracs.tech" src="https://plausible.langaracs.tech/js/script.js"></script>
<script defer data-domain="langaracs.ca" src="https://plausible.langaracs.ca/js/script.js"></script>



Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/thunks/ProfileThunks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { AppDispatch, RootState } from "../stores/store";
import { ExecProfileObject } from "../slices/execProfileSlice";

export const loadProfilesAsync = () => async (state: RootState, dispatch: AppDispatch): Promise<ExecProfileObject[]> => {
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}`
Expand Down

0 comments on commit 2827b1c

Please sign in to comment.