Skip to content

Commit

Permalink
Potentially fixes asciinema player
Browse files Browse the repository at this point in the history
  • Loading branch information
milanholemans committed Dec 14, 2024
1 parent 9e186e5 commit 9020b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/components/AsciinemaPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const AsciinemaPlayerComponent: React.FC<AsciinemaPlayerProps> = ({
...asciinemaOptions
}) => {
const ref = useRef<HTMLDivElement>(null);
const proxiedSrc = `https://corsproxy.io/?${encodeURIComponent(src)}`;
const proxiedSrc = `https://corsproxy.io/?url=${encodeURIComponent(src)}`;
const [isMounted, setIsMounted] = useState(false);

useEffect(() => {
Expand Down

0 comments on commit 9020b0a

Please sign in to comment.