Skip to content

Commit

Permalink
Changed the backend and frontend link in cors and lib.ts respectively
Browse files Browse the repository at this point in the history
  • Loading branch information
Puneet-NJ committed Jan 5, 2025
1 parent a4037da commit 8716376
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ app.use(cookieParser());
app.use(express.json());
app.use(
cors({
origin: "http://localhost:5173",
origin: "https://course-app.puneetnj.fun/",
credentials: true,
})
);
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/utils/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const BLOCKCHAIN_COHORT_URL =
export const COHORT2_URL =
"https://appxcontent.kaxa.in/subject/2024-07-05-0.3715048534115637.jpeg";

export const BACKEND_URL = "http://localhost:4000/api/v1";
export const BACKEND_URL = "https://course-app-be.puneetnj.fun/api/v1";

export const ABOUT_CONTENT1 = "Welcome to 100xdevs.";

Expand Down

0 comments on commit 8716376

Please sign in to comment.