Skip to content

Commit

Permalink
Merge pull request #84 from symblai/SRE-2116-Fix-url-for-internet-con…
Browse files Browse the repository at this point in the history
…nectivity-check

Updated the url for checking the internet connectivity. updated the version in package json file
  • Loading branch information
subodhjenasymbl authored Oct 31, 2023
2 parents b64c2bf + 3d287f9 commit c418a48
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion 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": "@symblai/symbl-web-sdk",
"version": "1.0.10",
"version": "1.0.12",
"description": "Symbl.ai Web SDK for accessing Symbl.ai APIs directly from the web browser.",
"homepage": "https://github.com/symblai/symbl-web-sdk",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/network/NetworkConnectivityDetector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class NetworkConnectivityDetector extends DelegatedEventTarget {

try {

const response = await fetch("https://symbl-sdk-cdn-bucket.storage.googleapis.com");
const response = await fetch("https://sdk.symbl.ai");
if (response.ok) {

this.dispatchEvent(new NetworkEvent(
Expand Down
2 changes: 1 addition & 1 deletion src/old/core/services/NetworkConnectivityDetector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const onlineDetector = async (jsSDK, e) => {
connectivityCheckIntervalRef = setInterval(async () => {
if (maxRetries > 0) {
try {
const response = await fetch('https://symbl-sdk-cdn-bucket.storage.googleapis.com');
const response = await fetch('https://sdk.symbl.ai');
if (response.ok) {
jsSDK.setOffline(false);
if (connectivityCheckIntervalRef)
Expand Down

0 comments on commit c418a48

Please sign in to comment.