Skip to content

Commit

Permalink
Domain url changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Zanzigzan committed Jun 9, 2024
1 parent 9253f77 commit 06245e8
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 06245e8

Please sign in to comment.