Skip to content

Commit

Permalink
updating script URL
Browse files Browse the repository at this point in the history
  • Loading branch information
fareed069417 committed Sep 18, 2023
1 parent 36fb429 commit 437267f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "meet-hour-react-web-sdk",
"version": "2.0.4",
"version": "2.0.5",
"description": "React SDK for the Meet Hour",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const loadExternalApi = async (
const releaseParam: string = release ? release : API_RELEASE;

script.async = true;
script.src = `https:/${APIURL}/libs/${releaseParam}/external_api.min.js?v=${Date.now()}&apiKey=${apiKey}`;
script.src = `https://${APIURL}/libs/${releaseParam}/external_api.min.js?v=${Date.now()}&apiKey=${apiKey}`;
script.onload = () => resolve(window.MeetHourExternalAPI);
script.onerror = () => reject(new Error(`Script load error: ${script.src}`));
document.head.appendChild(script as Node);
Expand Down

0 comments on commit 437267f

Please sign in to comment.