Fix link generation for interactive

Correctly generate the URL for the Rules of Inference interactive to ensure it points to the correct path.
This commit is contained in:
gpt-engineer-app[bot] 2025-08-11 11:34:10 +00:00
parent 6877dee89d
commit 13062b5fa3

View file

@ -84,7 +84,7 @@ const Foundations = () => {
<SocialShare <SocialShare
title={`${selectedInteractive.title} - Interactive Learning`} title={`${selectedInteractive.title} - Interactive Learning`}
description={selectedInteractive.description} description={selectedInteractive.description}
url={`https://lovable.dev${selectedInteractive.greenScreenPath}`} url={`${window.location.origin}${selectedInteractive.greenScreenPath}`}
/> />
</div> </div>
</div>; </div>;