1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-01-30 20:57:38 +01:00

Fix broken course url

This commit is contained in:
Kamran Ahmed 2025-01-29 19:31:43 +00:00
parent d87ea1c972
commit 91cfa88b3d
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ export function AccountButton() {
return ( return (
<a <a
href={`${import.meta.env.PUBLIC_COURSE_APP_URL}/sql`} href={`${import.meta.env.PUBLIC_COURSE_APP_URL}/master-sql`}
className={`${buttonClasses} animate-fade-in`} className={`${buttonClasses} animate-fade-in`}
> >
Start Learning Start Learning

View File

@ -101,7 +101,7 @@ export function BuyButton(props: BuyButtonProps) {
const hasEnrolled = !!courseProgress?.enrolledAt; const hasEnrolled = !!courseProgress?.enrolledAt;
if (hasEnrolled) { if (hasEnrolled) {
window.location.href = `${import.meta.env.PUBLIC_COURSE_APP_URL}/sql`; window.location.href = `${import.meta.env.PUBLIC_COURSE_APP_URL}/master-sql`;
return; return;
} }